Class: V8::JSError::Boundary

Inherits:
Object
  • Object
show all
Defined in:
lib/v8/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(frames = {}) ⇒ Boundary

Returns a new instance of Boundary.



124
125
126
127
# File 'lib/v8/error.rb', line 124

def initialize(frames = {})
  @rbframes = frames[:rbframes] || []
  @jsframes = frames[:jsframes] || []
end

Instance Attribute Details

#jsframesObject (readonly)

Returns the value of attribute jsframes.



122
123
124
# File 'lib/v8/error.rb', line 122

def jsframes
  @jsframes
end

#rbframesObject (readonly)

Returns the value of attribute rbframes.



122
123
124
# File 'lib/v8/error.rb', line 122

def rbframes
  @rbframes
end