Module: DataMapper::Is::Paginated

Included in:
Model
Defined in:
lib/dm-is-page-by-page/is/version.rb,
lib/dm-is-page-by-page/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 Also known as: is_page_by_page



5
6
7
# File 'lib/dm-is-page-by-page/is/paginated.rb', line 5

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