Class: V8::JSError::Boundary
Instance Attribute Summary collapse
-
#jsframes ⇒ Object
readonly
Returns the value of attribute jsframes.
-
#rbframes ⇒ Object
readonly
Returns the value of attribute rbframes.
Instance Method Summary collapse
-
#initialize(frames = {}) ⇒ Boundary
constructor
A new instance of Boundary.
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
#jsframes ⇒ Object (readonly)
Returns the value of attribute jsframes.
120 121 122 |
# File 'lib/v8/error.rb', line 120 def jsframes @jsframes end |
#rbframes ⇒ Object (readonly)
Returns the value of attribute rbframes.
120 121 122 |
# File 'lib/v8/error.rb', line 120 def rbframes @rbframes end |