class NilClass

Public Instance Methods

car() click to toggle source

include MIKU::List

# File core/miku/nil.rb, line 9
def car
  self end
cdr() click to toggle source
# File core/miku/nil.rb, line 12
def cdr
  self end
empty?() click to toggle source

def each(&proc)

nil end
# File core/miku/nil.rb, line 24
def empty?
  true
end
freezable?() click to toggle source
# File core/utils.rb, line 427
def freezable?
  false end
inspect() click to toggle source
# File core/miku/nil.rb, line 34
def inspect
  'nil' end
mapcarcdr(converter) click to toggle source
# File core/miku/nil.rb, line 28
def mapcarcdr(converter)
  nil end
miku_eval(symtable=MIKU::SymbolTable.new) click to toggle source
# File core/miku/nil.rb, line 37
def miku_eval(symtable=MIKU::SymbolTable.new)
  self end
setcar(val) click to toggle source
# File core/miku/nil.rb, line 15
def setcar(val)
  MIKU::Cons.new(val, nil) end
setcdr(val) click to toggle source
# File core/miku/nil.rb, line 18
def setcdr(val)
  MIKU::Cons.new(nil, val) end
unparse() click to toggle source
# File core/miku/nil.rb, line 31
def unparse
  'nil' end