Class
BusScheme::Cons
In:
lib/cons.rb
Parent:
Object
Methods
==
call
inspect
map
new
to_a
External Aliases
car
->
first
cdr
->
rest
Attributes
car
[RW]
cdr
[RW]
Public Class methods
new
(car, cdr = nil)
Public Instance methods
==
(other)
call
(nth)
allows for (mylist 4) => (nth mylist 4)
inspect
(open = '(', close = ')')
map
(mapper)
to_a
()
[Validate]