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.



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

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

Instance Attribute Details

#jsframesObject (readonly)

Returns the value of attribute jsframes.



120
121
122
# File 'lib/v8/error.rb', line 120

def jsframes
  @jsframes
end

#rbframesObject (readonly)

Returns the value of attribute rbframes.



120
121
122
# File 'lib/v8/error.rb', line 120

def rbframes
  @rbframes
end