class ExecJS::Runtime::Context
def exec(source, options = {})
context.exec("return 1") # => 1
returned value.
Evaluates the +source+ in the context of a function body and returns the
def exec(source, options = {}) raise NotImplementedError end
def exec(source, options = {}) raise NotImplementedError end