Module: Rjb::Iterable

Defined in:
lib/rjb/list.rb

Instance Method Summary collapse

Instance Method Details

#eachObject



12
13
14
15
16
17
# File 'lib/rjb/list.rb', line 12

def each
  it = iterator
  while it.has_next
    yield it.next
  end
end