Method: CEO::Iterator#current_page

Defined in:
lib/ceo/iterator.rb

#current_pageObject

Public: Returns the current page.



148
149
150
# File 'lib/ceo/iterator.rb', line 148

def current_page
  (@options[:current_page] || 1).to_i
end