method
enum_cons
v1_8_6_287 -
Show latest stable
- Class:
Enumerable
enum_cons(p1)public
Returns Enumerable::Enumerator.new(self, :each_cons, n).
1Note
Needs requiring 'enumerator' to work
This method needs that you
require 'enumerator'
for this method to be available.