class Jot::Ruby::Js::Impl

Public Class Methods

runtime() click to toggle source
# File lib/jot/ruby/js/impl.rb, line 9
def runtime
  @runtime ||= begin
    source = File.read(File.join(gem_root, 'vendor/jot.js'))
    ExecJS.compile(source)
  end
end