Module: GearedPagination
- Defined in:
- lib/geared_pagination.rb,
lib/geared_pagination/page.rb,
lib/geared_pagination/order.rb,
lib/geared_pagination/cursor.rb,
lib/geared_pagination/ratios.rb,
lib/geared_pagination/headers.rb,
lib/geared_pagination/version.rb,
lib/geared_pagination/recordset.rb,
lib/geared_pagination/controller.rb,
lib/geared_pagination/portions/portion_at_cursor.rb,
lib/geared_pagination/portions/portion_at_offset.rb
Defined Under Namespace
Modules: Controller
Classes: Cursor, Engine, Headers, Order, Page, PortionAtCursor, PortionAtOffset, Ratios, Recordset
Constant Summary
collapse
- VERSION =
"1.2.0"
Class Method Summary
collapse
Class Method Details
.deprecator ⇒ Object
9
10
11
|
# File 'lib/geared_pagination.rb', line 9
def self.deprecator
@deprecator ||= ActiveSupport::Deprecation.new(VERSION, "GearedPagination")
end
|
.rails_7_1? ⇒ Boolean
5
6
7
|
# File 'lib/geared_pagination.rb', line 5
def self.rails_7_1?
Rails.version >= "7.1.0" rescue false
end
|