Sha256: a80d0586673309510c6a4d2e65da96169ed9b01decabe4a68748932e55cdefd9
Contents?: true
Size: 351 Bytes
Versions: 53
Compression:
Stored size: 351 Bytes
Contents
require 'ruby2js' require 'execjs' module Ruby2JS def self.compile(source, options={}) ExecJS.compile(convert(source, options).to_s) end def self.eval(source, options={}) ExecJS.eval(convert(source, options.merge(strict: false)).to_s) end def self.exec(source, options={}) ExecJS.exec(convert(source, options).to_s) end end
Version data entries
53 entries across 53 versions & 1 rubygems