Method: ExecJS::Runtime#exec

Defined in:
lib/execjs/runtime.rb

#exec(source) ⇒ Object



33
34
35
36
# File 'lib/execjs/runtime.rb', line 33

def exec(source)
  context = context_class.new(self)
  context.exec(source)
end