Method: Sequel::Plugins::List::InstanceMethods#last_position

Defined in:
lib/sequel/plugins/list.rb

#last_positionObject

Find the last position in the list containing this instance.



114
115
116
# File 'lib/sequel/plugins/list.rb', line 114

def last_position
  list_dataset.max(position_field).to_i
end