class Symbol

Public Instance Methods

arrayify() click to toggle source
# File lib/schemerald/monkey_patching/Symbol.rb, line 2
def arrayify
  self == :nil ? [] : self
end
list?() click to toggle source
# File lib/schemerald/monkey_patching/Symbol.rb, line 6
def list?
  self == :nil
end
scheme_eval(environment, forms) click to toggle source
# File lib/schemerald/monkey_patching/Symbol.rb, line 10
def scheme_eval(environment, forms)
  environment.get_value(self)
end
to_sxp() click to toggle source
# File lib/schemerald/monkey_patching/Symbol.rb, line 14
def to_sxp
  return "()" if self == :nil
  to_s
end