Exception: GoTo::Goto

Inherits:
Exception show all
Defined in:
lib/rubyhacks.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label) ⇒ Goto

Returns a new instance of Goto.



945
# File 'lib/rubyhacks.rb', line 945

def initialize(label); @label = label; end

Instance Attribute Details

#labelObject

Returns the value of attribute label.



944
945
946
# File 'lib/rubyhacks.rb', line 944

def label
  @label
end