Linked list example – short version

Linked list example – short version using inspect

Methods
N
T
Class Public methods
new(x, y)
# File sample/list.rb, line 58
def initialize(x, y)
  @x = x; @y = y
  self
end
Instance Public methods
to_s()
# File sample/list.rb, line 63
def to_s
  sprintf("%d@%d", @x, @y)
end