Method: TrueTable#last
- Defined in:
- lib/true_table.rb
#last(*args) ⇒ Object
Returns the last row or a new table with the last N rows
197 198 199 |
# File 'lib/true_table.rb', line 197 def last(*args) args.empty? ? super : self.class.new(super) end |