How to use the opal-runtime.Opal.hash function in opal-runtime

To help you get started, we’ve selected a few opal-runtime examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Mogztter / opal-node-compiler / src / index.js View on Github external
var toHash = function (object) {
  if (object && !object.smap) {
    return Opal.hash(object);
  }
  return object;
};

opal-runtime

Opal Runtime

MIT
Latest version published 1 year ago

Package Health Score

42 / 100
Full package analysis