Module: Enumerator::Drop
- Defined in:
- lib/core_ext/enumerator/drop.rb
Instance Method Summary collapse
Instance Method Details
#drop(count) ⇒ Object
2 3 4 5 6 |
# File 'lib/core_ext/enumerator/drop.rb', line 2 def drop(count) count.times{ self.next } rescue StopIteration ; # noop end |