lib/plucky/pagination/decorator.rb in plucky-0.5.2 vs lib/plucky/pagination/decorator.rb in plucky-0.6.0
- old
+ new
@@ -6,16 +6,17 @@
def_delegators :@paginator,
:total_entries, :total_pages,
:current_page, :per_page,
:previous_page, :next_page,
- :skip, :limit,
+ :skip, :limit,
:offset, :out_of_bounds?
+ # Public
def paginator(p=nil)
return @paginator if p.nil?
@paginator = p
self
end
end
end
-end
\ No newline at end of file
+end