Module: SimplePaginate
- Defined in:
- lib/simple_paginate.rb,
lib/simple_paginate/config.rb,
lib/simple_paginate/engine.rb,
lib/simple_paginate/railtie.rb,
lib/simple_paginate/version.rb,
lib/simple_paginate/helpers/tags.rb,
lib/simple_paginate/helpers/paginator.rb,
lib/generators/simple_paginate/views_generator.rb,
lib/generators/simple_paginate/config_generator.rb,
lib/simple_paginate/helpers/action_view_extension.rb,
lib/simple_paginate/models/active_record_extension.rb,
lib/simple_paginate/models/active_record_model_extension.rb
Defined Under Namespace
Modules: ActionViewExtension, ActiveRecordExtension, ActiveRecordModelExtension, Generators, Helpers
Classes: Configuration, Engine, Railtie
Constant Summary
collapse
- VERSION =
"0.2.0"
Class Method Summary
collapse
Class Method Details
.config ⇒ Object
8
9
10
|
# File 'lib/simple_paginate/config.rb', line 8
def self.config
@config
end
|
4
5
6
|
# File 'lib/simple_paginate/config.rb', line 4
def self.configure(&block)
yield @config ||= SimplePaginate::Configuration.new
end
|