Exception: Braingasm::JumpSignal

Inherits:
VMError show all
Defined in:
lib/braingasm/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BraingasmError

#type

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

#toObject (readonly)

Returns the value of attribute to.



24
25
26
# File 'lib/braingasm/errors.rb', line 24

def to
  @to
end