class Lisp::Binding
Attributes
symbol[RW]
value[RW]
Public Class Methods
new(symbol, value)
click to toggle source
# File lib/rubylisp/binding.rb, line 6 def initialize(symbol, value) @symbol = symbol @value = value self end
Public Instance Methods
to_s()
click to toggle source
# File lib/rubylisp/binding.rb, line 12 def to_s "#{symbol.name} -> #{value.to_s}" end