Class: ArrayOfArrays

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

Constant Summary collapse

@@create_array =
proc{|i| Array.new}

Instance Method Summary collapse

Methods inherited from DefaultInitArray

#[]

Methods inherited from Array

#delete_at_indices, #equality_uniq

Constructor Details

#initialize(*args) ⇒ ArrayOfArrays

Returns a new instance of ArrayOfArrays.



28
29
30
# File 'lib/graphr/base_extensions.rb', line 28

def initialize(*args)
  super(*args, &@@create_array)
end