class TableSortable::Result
Attributes
total_count[R]
unpaginated[R]
Public Class Methods
new(the_array, page, page_size)
click to toggle source
Calls superclass method
# File lib/table_sortable/result.rb, line 6 def initialize(the_array, page, page_size) @unpaginated = the_array @total_count = the_array.length super(the_array[(page)*page_size, page_size]) end