Class: ArrayOfArrays
- Inherits:
-
DefaultInitArray
- Object
- Array
- DefaultInitArray
- ArrayOfArrays
- Defined in:
- lib/graphr/base_extensions.rb
Constant Summary collapse
- @@create_array =
proc{|i| Array.new}
Instance Method Summary collapse
-
#initialize(*args) ⇒ ArrayOfArrays
constructor
A new instance of ArrayOfArrays.
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 |