Parent

ExecJS::JohnsonRuntime

Public Instance Methods

available?() click to toggle source
# File lib/execjs/johnson_runtime.rb, line 105
def available?
  require "johnson"
  true
rescue LoadError
  false
end
compile(source) click to toggle source
# File lib/execjs/johnson_runtime.rb, line 101
def compile(source)
  Context.new(source)
end
eval(source) click to toggle source
# File lib/execjs/johnson_runtime.rb, line 96
def eval(source)
  context = Context.new
  context.eval(source)
end
exec(source) click to toggle source
# File lib/execjs/johnson_runtime.rb, line 91
def exec(source)
  context = Context.new
  context.exec(source)
end
name() click to toggle source
# File lib/execjs/johnson_runtime.rb, line 87
def name
  "Johnson (SpiderMonkey)"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.