Class: Roart::HistoryArray
Instance Method Summary collapse
Methods inherited from Array
Instance Method Details
#all ⇒ Object
16 17 18 |
# File 'lib/roart/history.rb', line 16 def all self end |
#count ⇒ Object
20 21 22 |
# File 'lib/roart/history.rb', line 20 def count self.size end |
#last ⇒ Object
24 25 26 |
# File 'lib/roart/history.rb', line 24 def last self[self.size - 1] end |
#ticket ⇒ Object
12 13 14 |
# File 'lib/roart/history.rb', line 12 def ticket @default_options[:ticket] end |