Class: ArrayOfHashes

Inherits:
DefaultInitArray show all
Defined in:
lib/graphr/base_extensions.rb

Constant Summary collapse

@@create_hash =
proc{|i| Hash.new}

Instance Method Summary collapse

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