module Enumex
Constants
- VERSION
Public Class Methods
new(enumerator = nil, &block)
click to toggle source
# File lib/enumex.rb, line 15 def new(enumerator = nil, &block) Base.new.tap {|enmx| enmx.attach_to(enumerator, &block) if enumerator } end