Method: Indy#before
- Defined in:
- lib/indy/indy.rb
#before(scope_criteria) ⇒ Object
Scopes the eventual search to all entries prior to this point.
157 158 159 160 |
# File 'lib/indy/indy.rb', line 157 def before(scope_criteria) params = scope_criteria.merge({:direction => :before}) within(params) end |