Class: Rednode::Bindings::Evals::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/rednode/bindings/evals.rb

Instance Method Summary collapse

Constructor Details

#initialize(properties) ⇒ Context

Returns a new instance of Context.



66
67
68
69
70
71
# File 'lib/rednode/bindings/evals.rb', line 66

def initialize(properties)
  @cxt = ::V8::Context.new
  for k,v in properties
    @cxt[k] = v
  end
end