Class: ExecJS::Runtime::Context

Inherits:
Object
  • Object
show all
Includes:
Encoding
Defined in:
lib/execjs/runtime.rb

Instance Method Summary collapse

Methods included from Encoding

#encode

Constructor Details

#initialize(runtime, source = "", options = {}) ⇒ Context

Returns a new instance of Context.



9
10
# File 'lib/execjs/runtime.rb', line 9

def initialize(runtime, source = "", options = {})
end

Instance Method Details

#call(properties, *args) ⇒ Object

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/execjs/runtime.rb', line 20

def call(properties, *args)
  raise NotImplementedError
end

#eval(source, options = {}) ⇒ Object

Raises:

  • (NotImplementedError)


16
17
18
# File 'lib/execjs/runtime.rb', line 16

def eval(source, options = {})
  raise NotImplementedError
end

#exec(source, options = {}) ⇒ Object

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/execjs/runtime.rb', line 12

def exec(source, options = {})
  raise NotImplementedError
end