Sha256: 0e8759a9861e5a2024cd7f5b2a0979d32c865ea52389a474efc62a5b71c3a212

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

module MWS
  module Orders
    module Parser
      class Collection < Base
        include Enumerable

        def each
          raise NotImplementedError
        end

        def empty?
          count == 0
        end

        def inspect
          "#<#{self.class}>"
        end
        alias :to_s :inspect
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mws-orders-0.0.2 lib/mws/orders/parsers/collection.rb
mws-orders-0.0.1 lib/mws/orders/parsers/collection.rb