Module: DataMapper::Last

Included in:
Collection, Resource::ClassMethods
Defined in:
lib/dm-last/model_ext.rb

Instance Method Summary collapse

Instance Method Details

#lastObject



3
4
5
# File 'lib/dm-last/model_ext.rb', line 3

def last
  all.last
end