Class: Eye::Utils::Tail
Direct Known Subclasses
Instance Method Summary collapse
- #<<(el) ⇒ Object
-
#initialize(max_size = 100) ⇒ Tail
constructor
limited array.
- #push(el) ⇒ Object
Methods inherited from Array
Constructor Details
#initialize(max_size = 100) ⇒ Tail
limited array
5 6 7 8 |
# File 'lib/eye/utils/tail.rb', line 5 def initialize(max_size = 100) @max_size = max_size super() end |