Sha256: a3a03d428c081604c2283684c39c2e536e37d2c84c72d7e62fbecc4bf7c4de21

Contents?: true

Size: 193 Bytes

Versions: 5

Compression:

Stored size: 193 Bytes

Contents

require 'active_support/ordered_hash'

module Zermelo
  class OrderedSet < Set

    def initialize(enum = nil, &block)
      @hash = ActiveSupport::OrderedHash.new
      super
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zermelo-1.4.3 lib/zermelo/ordered_set.rb
zermelo-1.4.2 lib/zermelo/ordered_set.rb
zermelo-1.4.1 lib/zermelo/ordered_set.rb
zermelo-1.4.0 lib/zermelo/ordered_set.rb
zermelo-1.3.0 lib/zermelo/ordered_set.rb