Class: Johnson::SpiderMonkey::Context
- Inherits:
-
Object
- Object
- Johnson::SpiderMonkey::Context
- Defined in:
- lib/johnson/spidermonkey/context.rb
Overview
native
Instance Method Summary collapse
-
#initialize(runtime, options = {}) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(runtime, options = {}) ⇒ Context
Returns a new instance of Context.
4 5 6 7 |
# File 'lib/johnson/spidermonkey/context.rb', line 4 def initialize(runtime, ={}) @runtime = runtime initialize_native(runtime, ) end |