Sha256: e0663929ade8c3e25afc8cedbad623c70b2bb7b0aca34a94ff195e5b92f0f5cf

Contents?: true

Size: 359 Bytes

Versions: 12

Compression:

Stored size: 359 Bytes

Contents

# encoding: utf-8

module Mixture
  module Types
    # A collection.  This is recognized as an actual set of values,
    # rather than just being enumerable.  The set of values have a
    # defined type.
    class Collection < Enumerable
      options[:members] = [Object]
      options[:types]   = ThreadSafe::Cache.new
      extend Access
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mixture-0.6.2 lib/mixture/types/collection.rb
mixture-0.6.1 lib/mixture/types/collection.rb
mixture-0.6.0 lib/mixture/types/collection.rb
mixture-0.5.1 lib/mixture/types/collection.rb
mixture-0.5.0 lib/mixture/types/collection.rb
mixture-0.4.0 lib/mixture/types/collection.rb
mixture-0.3.6 lib/mixture/types/collection.rb
mixture-0.3.5 lib/mixture/types/collection.rb
mixture-0.3.4 lib/mixture/types/collection.rb
mixture-0.3.2 lib/mixture/types/collection.rb
mixture-0.3.1 lib/mixture/types/collection.rb
mixture-0.3.0 lib/mixture/types/collection.rb