Class: Kalculator::List

Inherits:
Collection show all
Defined in:
lib/kalculator/types.rb

Overview

a collection that holds one type of data

Instance Attribute Summary

Attributes inherited from Collection

#type

Instance Method Summary collapse

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