Module: LazyList::Enumerable::ObjectMethods

Included in:
Object
Defined in:
lib/lazylist/enumerable.rb

Instance Method Summary collapse

Instance Method Details

#end_listObject

This method can be used to end a list in a predicate that is used to filter the lazy list via the select, reject, or partition method.



120
121
122
# File 'lib/lazylist/enumerable.rb', line 120

def end_list
  throw :end_list, :end_list
end