Class: CodengageViewComponents::PaginatorComponent
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- CodengageViewComponents::PaginatorComponent
- Defined in:
- app/components/codengage_view_components/paginator_component.rb
Instance Method Summary collapse
-
#initialize(paginator:, options: {}) ⇒ PaginatorComponent
constructor
A new instance of PaginatorComponent.
Constructor Details
#initialize(paginator:, options: {}) ⇒ PaginatorComponent
Returns a new instance of PaginatorComponent.
5 6 7 8 |
# File 'app/components/codengage_view_components/paginator_component.rb', line 5 def initialize(paginator:, options: {}) @paginator = paginator @options = end |