class DHS::Pagination::TotalPages
Public Instance Methods
total()
click to toggle source
# File lib/dhs/pagination/total_pages.rb, line 5 def total (data._raw.dig(*_record.total_key) || 0) * limit end
Also aliased as: count