Module: NoBrainer::Criteria::Limit
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/no_brainer/criteria/limit.rb
Instance Method Summary collapse
- #limit(value) ⇒ Object
- #skip(value) ⇒ Object (also: #offset)
Instance Method Details
#limit(value) ⇒ Object
6 7 8 |
# File 'lib/no_brainer/criteria/limit.rb', line 6 def limit(value) chain(:limit => value) end |
#skip(value) ⇒ Object Also known as: offset
10 11 12 |
# File 'lib/no_brainer/criteria/limit.rb', line 10 def skip(value) chain(:skip => value) end |