Module: Kernel
- Defined in:
- lib/reconsidered.rb
Instance Method Summary collapse
-
#__goto__(sym) ⇒ Object
Return to the location in the code labeled with sym.
-
#__label__(sym) ⇒ Object
Create a new label which, when used with __goto__, will return to the current location in the program.
Instance Method Details
#__goto__(sym) ⇒ Object
Return to the location in the code labeled with sym
52 53 54 |
# File 'lib/reconsidered.rb', line 52 def __goto__ sym Reconsidered::Default_Labels.goto sym end |
#__label__(sym) ⇒ Object
Create a new label which, when used with __goto__, will return to the current location in the program
47 48 49 |
# File 'lib/reconsidered.rb', line 47 def __label__ sym Reconsidered::Default_Labels.label sym end |