# File lib/execjs/module.rb, line 26 def compile(source) runtime.compile(source) end
# File lib/execjs/module.rb, line 22 def eval(source) runtime.eval(source) end
# File lib/execjs/module.rb, line 18 def exec(source) runtime.exec(source) end
# File lib/execjs/module.rb, line 30 def root @root ||= File.expand_path("..", __FILE__) end
# File lib/execjs/module.rb, line 13 def runtime=(runtime) raise RuntimeUnavailable, "#{runtime.name} is unavailable on this system" unless runtime.available? @runtime = runtime end
Generated with the Darkfish Rdoc Generator 2.