Module: Rjb::Iterator

Defined in:
lib/rjb/list.rb

Instance Method Summary collapse

Instance Method Details

#eachObject



20
21
22
23
24
# File 'lib/rjb/list.rb', line 20

def each
  while has_next
    yield self.next
  end
end