Class: Mochigome::OrderedSet

Inherits:
Set
  • Object
show all
Defined in:
lib/ordered_set.rb

Overview

Instance Method Summary collapse

Constructor Details

#initialize(enum = nil, &block) ⇒ OrderedSet

Returns a new instance of OrderedSet.



6
7
8
9
# File 'lib/ordered_set.rb', line 6

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