Module: Pagination::RecordDescriptionForHelper

Includes:
RecordRangeForHelper, RecordSizeForHelper
Included in:
ActionSet::Helpers::HelperMethods
Defined in:
lib/action_set/helpers/pagination/record_description_for_helper.rb

Instance Method Summary collapse

Methods included from RecordSizeForHelper

#pagination_record_size_for

Methods included from RecordRangeForHelper

#pagination_record_range_for

Methods included from RecordLastForHelper

#pagination_record_last_for

Methods included from TotalPagesForHelper

#pagination_total_pages_for

Methods included from PageSizeForHelper

#pagination_page_size_for

Methods included from CurrentPageForHelper

#pagination_current_page_for

Methods included from RecordFirstForHelper

#pagination_record_first_for

Instance Method Details

#pagination_record_description_for(set) ⇒ Object



11
12
13
14
15
16
17
18
# File 'lib/action_set/helpers/pagination/record_description_for_helper.rb', line 11

def pagination_record_description_for(set)
  [
    pagination_record_range_for(set),
    'of',
    "<strong>#{pagination_record_size_for(set)}</strong>",
    'records'
  ].join('&nbsp;').html_safe
end