Sha256: 23d25a0b129e75c44016eb1c5c6416d6cf50a5c0aecbb9335861e4213dbb7b97

Contents?: true

Size: 224 Bytes

Versions: 7

Compression:

Stored size: 224 Bytes

Contents

require 'forwardable'

module Hamster

  class Sorter

    extend Forwardable

    include Enumerable

    def initialize(collection)
      @collection = collection
    end

    def_delegator :@collection, :each

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hamster-0.2.13 lib/hamster/sorter.rb
hamster-0.2.12 lib/hamster/sorter.rb
hamster-0.2.11 lib/hamster/sorter.rb
hamster-0.2.9 lib/hamster/sorter.rb
hamster-0.2.8 lib/hamster/sorter.rb
hamster-0.2.7 lib/hamster/sorter.rb
hamster-0.2.6 lib/hamster/sorter.rb