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