Class: Exo::Pagination
- Inherits:
-
Struct
- Object
- Struct
- Exo::Pagination
- Defined in:
- app/helpers/exo/pagination_helper.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
Returns the value of attribute params.
-
#scope ⇒ Object
Returns the value of attribute scope.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth) ⇒ Object
17 18 19 |
# File 'app/helpers/exo/pagination_helper.rb', line 17 def method_missing meth nil end |
Instance Attribute Details
#params ⇒ Object
Returns the value of attribute params
12 13 14 |
# File 'app/helpers/exo/pagination_helper.rb', line 12 def params @params end |
#scope ⇒ Object
Returns the value of attribute scope
12 13 14 |
# File 'app/helpers/exo/pagination_helper.rb', line 12 def scope @scope end |
Instance Method Details
#pages ⇒ Object
13 14 15 |
# File 'app/helpers/exo/pagination_helper.rb', line 13 def pages [1] end |