Class: AtLeastTwoArray
- Inherits:
-
MinimumSizedHomogeneousArray
- Object
- Array
- HomogeneousArray
- MinimumSizedHomogeneousArray
- AtLeastTwoArray
- Defined in:
- lib/symphony/symphony.rb
Instance Attribute Summary
Attributes inherited from MinimumSizedHomogeneousArray
Attributes inherited from HomogeneousArray
Instance Method Summary collapse
-
#initialize(of_class, *spec) ⇒ AtLeastTwoArray
constructor
A new instance of AtLeastTwoArray.
Methods inherited from MinimumSizedHomogeneousArray
Methods inherited from HomogeneousArray
#<<, #==, #[]=, #raise_type_error, #replace
Methods inherited from Array
Constructor Details
#initialize(of_class, *spec) ⇒ AtLeastTwoArray
Returns a new instance of AtLeastTwoArray.
76 77 78 |
# File 'lib/symphony/symphony.rb', line 76 def initialize(of_class, *spec) super(2, of_class, *spec) end |