class Klam::Variable
Attributes
name[R]
Public Class Methods
new(name)
click to toggle source
# File lib/klam/variable.rb, line 5 def initialize(name) @name = name end
Public Instance Methods
==(other)
click to toggle source
# File lib/klam/variable.rb, line 13 def ==(other) other.kind_of?(Variable) && name == other.name end
hash()
click to toggle source
# File lib/klam/variable.rb, line 17 def hash name.hash end
to_s()
click to toggle source
# File lib/klam/variable.rb, line 9 def to_s name end