lib/laziness/pager.rb in laziness-0.2.5 vs lib/laziness/pager.rb in laziness-0.2.6
- old
+ new
@@ -3,10 +3,10 @@
module Slack
class Pager
attr_reader :cursor, :limit, :page
def initialize(page)
- @page = page.dup
+ @page = page
@limit = @page[:limit] unless empty?
end
def empty?
page.nil? || page.empty?