class GoTo::Label

Attributes

block[RW]
name[RW]

Public Class Methods

new(name, block) click to toggle source
# File lib/rubyhacks.rb, line 933
def initialize(name, block);
        @name = name
        @block = block
end

Public Instance Methods

==(sym) click to toggle source
# File lib/rubyhacks.rb, line 938
def ==(sym)
        @name == sym
end