class Symbol
Public Instance Methods
construct_list?()
click to toggle source
# File lib/forsta/symbol.rb, line 2 def construct_list? self == :nil end
lisp_eval(environment, forms)
click to toggle source
# File lib/forsta/symbol.rb, line 10 def lisp_eval(environment, forms) environment.lookup(self) end
to_array()
click to toggle source
# File lib/forsta/symbol.rb, line 6 def to_array construct_list? ? [] : self end