Exception: Braingasm::JumpSignal
- Inherits:
-
VMError
- Object
- RuntimeError
- BraingasmError
- VMError
- Braingasm::JumpSignal
- Defined in:
- lib/braingasm/errors.rb
Instance Attribute Summary collapse
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(to) ⇒ JumpSignal
constructor
A new instance of JumpSignal.
Methods inherited from BraingasmError
Constructor Details
#initialize(to) ⇒ JumpSignal
Returns a new instance of JumpSignal.
25 26 27 |
# File 'lib/braingasm/errors.rb', line 25 def initialize(to) @to = to end |
Instance Attribute Details
#to ⇒ Object (readonly)
Returns the value of attribute to.
24 25 26 |
# File 'lib/braingasm/errors.rb', line 24 def to @to end |