Class: Kalculator::List
- Inherits:
-
Collection
- Object
- Collection
- Kalculator::List
- Defined in:
- lib/kalculator/types.rb
Overview
a collection that holds one type of data
Instance Attribute Summary
Attributes inherited from Collection
Instance Method Summary collapse
-
#initialize(type) ⇒ List
constructor
A new instance of List.
Methods inherited from Collection
#<=, #==, #>=, #generic_type?
Constructor Details
#initialize(type) ⇒ List
Returns a new instance of List.
74 75 76 |
# File 'lib/kalculator/types.rb', line 74 def initialize(type) super(type) end |