Module: EnumerableFu

Defined in:
lib/enumerable_fu/merging.rb,
lib/enumerable_fu/version.rb,
lib/enumerable_fu/zipping.rb,
lib/enumerable_fu/filtering.rb

Defined Under Namespace

Classes: Filter, Merger, Zipper

Constant Summary collapse

VERSION =
"0.1.1".freeze

Class Method Summary collapse

Class Method Details

.merging(*enumerables) ⇒ Object


62
63
64
# File 'lib/enumerable_fu/merging.rb', line 62

def merging(*enumerables)
  EnumerableFu::Merger.new(enumerables)
end

.merging_by(*enumerables, &block) ⇒ Object


66
67
68
# File 'lib/enumerable_fu/merging.rb', line 66

def merging_by(*enumerables, &block)
  EnumerableFu::Merger.new(enumerables, &block)
end

.zipping(*enumerables) ⇒ Object


32
33
34
# File 'lib/enumerable_fu/zipping.rb', line 32

def zipping(*enumerables)
  EnumerableFu::Zipper.new(enumerables)
end