Class: ArrayOfHashes
- Inherits:
-
DefaultInitArray
- Object
- Array
- DefaultInitArray
- ArrayOfHashes
- Defined in:
- lib/graphr/base_extensions.rb
Constant Summary collapse
- @@create_hash =
proc{|i| Hash.new}
Instance Method Summary collapse
-
#initialize(*args) ⇒ ArrayOfHashes
constructor
A new instance of ArrayOfHashes.
Methods inherited from DefaultInitArray
Methods inherited from Array
#delete_at_indices, #equality_uniq
Constructor Details
#initialize(*args) ⇒ ArrayOfHashes
Returns a new instance of ArrayOfHashes.
35 36 37 |
# File 'lib/graphr/base_extensions.rb', line 35 def initialize(*args) super(*args, &@@create_hash) end |