Class: Paginate::Config
- Inherits:
-
Object
- Object
- Paginate::Config
- Defined in:
- lib/paginate/config.rb
Class Attribute Summary collapse
-
.param_name ⇒ Object
Returns the value of attribute param_name.
-
.size ⇒ Object
Returns the value of attribute size.
Class Method Summary collapse
Class Attribute Details
.param_name ⇒ Object
Returns the value of attribute param_name.
5 6 7 |
# File 'lib/paginate/config.rb', line 5 def param_name @param_name end |
.size ⇒ Object
Returns the value of attribute size.
4 5 6 |
# File 'lib/paginate/config.rb', line 4 def size @size end |
Class Method Details
.to_hash ⇒ Object
8 9 10 11 12 13 |
# File 'lib/paginate/config.rb', line 8 def self.to_hash { :size => size, :param_name => param_name } end |