Class: Johnson::SpiderMonkey::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/johnson/spidermonkey/context.rb

Overview

native

Instance Method Summary collapse

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, options={})
  @runtime = runtime
  initialize_native(runtime, options)
end