Exception: Pagy::OutOfRangeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pagy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagy) ⇒ OutOfRangeError

Returns a new instance of OutOfRangeError.



8
# File 'lib/pagy.rb', line 8

def initialize(pagy) @pagy = pagy end

Instance Attribute Details

#pagyObject (readonly)

Returns the value of attribute pagy.



8
9
10
# File 'lib/pagy.rb', line 8

def pagy
  @pagy
end