Class: Ludy::NullPage

Inherits:
Page
  • Object
show all
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

#page, #pager

Instance Method Summary collapse

Methods inherited from Page

#==, #begin, #data, #end, #fetch, #method_missing, #next, null, #prev

Constructor Details

#initializeNullPage

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