Class: Mochigome::OrderedSet
- Inherits:
-
Set
- Object
- Set
- Mochigome::OrderedSet
- Defined in:
- lib/ordered_set.rb
Overview
Instance Method Summary collapse
-
#initialize(enum = nil, &block) ⇒ OrderedSet
constructor
A new instance of OrderedSet.
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 |