Class: Rednode::Bindings::Evals::Context
- Inherits:
-
Object
- Object
- Rednode::Bindings::Evals::Context
- Defined in:
- lib/rednode/bindings/evals.rb
Instance Method Summary collapse
-
#initialize(properties) ⇒ Context
constructor
A new instance of Context.
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 |