Sha256: 15c40339d3051e09e851a87170e8c09ac8c27c54726fd7f458b8759f979dbce7

Contents?: true

Size: 152 Bytes

Versions: 38

Compression:

Stored size: 152 Bytes

Contents

class LHS::Pagination::Page < LHS::Pagination::Base

  def current_page
    offset
  end

  def next_offset(step = 1)
    current_page + step
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
lhs-13.2.3 lib/lhs/pagination/page.rb
lhs-13.2.2 lib/lhs/pagination/page.rb
lhs-13.2.1 lib/lhs/pagination/page.rb
lhs-13.2.0 lib/lhs/pagination/page.rb
lhs-13.1.0 lib/lhs/pagination/page.rb
lhs-13.0.1 lib/lhs/pagination/page.rb
lhs-13.0.0 lib/lhs/pagination/page.rb
lhs-12.3.0 lib/lhs/pagination/page.rb
lhs-12.2.1 lib/lhs/pagination/page.rb
lhs-12.2.0 lib/lhs/pagination/page.rb
lhs-12.1.0 lib/lhs/pagination/page.rb
lhs-12.0.3 lib/lhs/pagination/page.rb
lhs-12.0.2 lib/lhs/pagination/page.rb
lhs-12.0.1 lib/lhs/pagination/page.rb
lhs-12.0.0 lib/lhs/pagination/page.rb
lhs-11.3.3 lib/lhs/pagination/page.rb
lhs-11.3.2 lib/lhs/pagination/page.rb
lhs-11.3.1 lib/lhs/pagination/page.rb
lhs-11.3.0 lib/lhs/pagination/page.rb
lhs-11.2.2 lib/lhs/pagination/page.rb