Module: DataMapper::Is::Paginated

Included in:
Resource::ClassMethods
Defined in:
lib/dm-is-paginated/is/version.rb,
lib/dm-is-paginated/is/paginated.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

VERSION_MAJOR =
0
VERSION_MINOR =
0
VERSION_TINY =
1
VERSION_REV =
nil
VERSION =
[
  VERSION_MAJOR, 
  VERSION_MINOR, 
  VERSION_TINY
].join('.')  + (VERSION_REV ? ".#{VERSION_REV}" : "")

Instance Method Summary collapse

Instance Method Details

#is_paginated(options = {}) ⇒ Object



4
5
6
# File 'lib/dm-is-paginated/is/paginated.rb', line 4

def is_paginated(options = {})
  extend  DataMapper::Is::Paginated::ClassMethods
end