drop_while {|item| ... } -> Enumerator::LazyRuby 2.0.0 から[permalink][rdoc][edit]-
Enumerable#drop_while と同じですが、配列ではなくEnumerator::Lazy を返します。
例p 1.step.lazy.drop_while { |i| i < 42 } # => #<Enumerator::Lazy: #<Enumerator::Lazy: #<Enumerator: 1:step>>:drop_while> p 1.step.lazy.drop_while { |i| i < 42 }.take(10).force # => [42, 43, 44, 45, 46, 47, 48, 49, 50, 51][SEE_ALSO] Enumerable#drop_while