Class: GearedPagination::PortionAtCursor::Predicate
- Inherits:
-
Object
- Object
- GearedPagination::PortionAtCursor::Predicate
- Defined in:
- lib/geared_pagination/portions/portion_at_cursor.rb
Instance Attribute Summary collapse
-
#order ⇒ Object
readonly
Returns the value of attribute order.
Instance Method Summary collapse
- #condition_on(table, value) ⇒ Object
-
#initialize(order) ⇒ Predicate
constructor
A new instance of Predicate.
Constructor Details
#initialize(order) ⇒ Predicate
Returns a new instance of Predicate.
109 110 111 |
# File 'lib/geared_pagination/portions/portion_at_cursor.rb', line 109 def initialize(order) @order = order end |
Instance Attribute Details
#order ⇒ Object (readonly)
Returns the value of attribute order.
106 107 108 |
# File 'lib/geared_pagination/portions/portion_at_cursor.rb', line 106 def order @order end |
Instance Method Details
#condition_on(table, value) ⇒ Object
113 114 115 |
# File 'lib/geared_pagination/portions/portion_at_cursor.rb', line 113 def condition_on(table, value) raise NotImplementedError end |