Method: Sequel::Plugins::List::InstanceMethods#at_position
- Defined in:
- lib/sequel/plugins/list.rb
#at_position(p) ⇒ Object
The model object at the given position in the list containing this instance.
100 101 102 |
# File 'lib/sequel/plugins/list.rb', line 100 def at_position(p) list_dataset.first(position_field => p) end |