class Node
Public Instance Methods
<=>(anOther)
click to toggle source
# File lib/prct06/list.rb, line 6 def <=>(anOther) if anOther.is_a?(Node) value <=> anOther.value else value <=> anOther end end
to_s()
click to toggle source
# File lib/prct06/list.rb, line 13 def to_s to_return = "(Value: #{value})" end