Sha256: 93ec717f6671f897ebea82b66221d7ce93a19601d2fa3ecd3231a163e089991b

Contents?: true

Size: 99 Bytes

Versions: 8

Compression:

Stored size: 99 Bytes

Contents

module Enumerable
  def injecting(s)
    inject(s) do |k, i|
      yield(k, i); k
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
merb-0.0.8 lib/merb/core_ext/merb_enumerable.rb
merb-0.0.9 lib/merb/core_ext/merb_enumerable.rb
merb-0.1.0 lib/merb/core_ext/merb_enumerable.rb
merb-0.2.0 lib/merb/core_ext/merb_enumerable.rb
merb-0.3.0 lib/merb/core_ext/merb_enumerable.rb
merb-0.3.1 lib/merb/core_ext/merb_enumerable.rb
merb-0.3.4 lib/merb/core_ext/merb_enumerable.rb
merb-0.3.3 lib/merb/core_ext/merb_enumerable.rb