Class: Ludy::NullPage
- Includes:
- Singleton
- Defined in:
- lib/ludy/paginator.rb
Overview
a null page that stubs anything to 0 or [], etc.
Instance Attribute Summary
Attributes inherited from Page
Instance Method Summary collapse
-
#initialize ⇒ NullPage
constructor
A new instance of NullPage.
Methods inherited from Page
#==, #begin, #data, #end, #fetch, #method_missing, #next, null, #prev
Constructor Details
#initialize ⇒ NullPage
Returns a new instance of NullPage.
137 |
# File 'lib/ludy/paginator.rb', line 137 def initialize; super(NullPaginator.instance, 0); end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Ludy::Page