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.
112 113 114 |
# File 'lib/geared_pagination/portions/portion_at_cursor.rb', line 112 def initialize(order) @order = order end |
Instance Attribute Details
#order ⇒ Object (readonly)
Returns the value of attribute order.
109 110 111 |
# File 'lib/geared_pagination/portions/portion_at_cursor.rb', line 109 def order @order end |
Instance Method Details
#condition_on(table, value) ⇒ Object
116 117 118 |
# File 'lib/geared_pagination/portions/portion_at_cursor.rb', line 116 def condition_on(table, value) raise NotImplementedError end |