Methods
N
S
Attributes
[R] next_ring
Class Public methods
new(n = nil)
# File benchmark/gc/ring.rb, line 7
def initialize n = nil
  @next_ring = n
end
Instance Public methods
size()
# File benchmark/gc/ring.rb, line 12
def size
  s = 1
  ring = self
  while ring.next_ring
    s += 1
    ring = ring.next_ring
  end
  s
end