Class: Groonga::TooSmallPage
Instance Attribute Summary collapse
-
#available_pages ⇒ Object
readonly
有効なページ。Range。.
-
#page ⇒ Object
readonly
指定したページ番号。.
Instance Method Summary collapse
-
#initialize(page, available_pages) ⇒ TooSmallPage
constructor
A new instance of TooSmallPage.
Constructor Details
#initialize(page, available_pages) ⇒ TooSmallPage
Returns a new instance of TooSmallPage.
27 28 29 30 31 32 |
# File 'lib/groonga/pagination.rb', line 27 def initialize(page, available_pages) @page = page @available_pages = available_pages super("too small page: #{@page}: " + "available pages: #{@available_pages.inspect}") end |