Class: FlexibleDatatables::Configurator::Settings
- Inherits:
-
Object
- Object
- FlexibleDatatables::Configurator::Settings
- Defined in:
- lib/flexible_datatables/configurator.rb
Instance Attribute Summary collapse
-
#items_per_page ⇒ Object
Returns the value of attribute items_per_page.
-
#paginator ⇒ Object
Returns the value of attribute paginator.
-
#sorter ⇒ Object
Returns the value of attribute sorter.
Instance Method Summary collapse
-
#initialize ⇒ Settings
constructor
A new instance of Settings.
Constructor Details
#initialize ⇒ Settings
Returns a new instance of Settings.
6 7 8 9 10 |
# File 'lib/flexible_datatables/configurator.rb', line 6 def initialize @items_per_page = 10 @paginator = ::FlexibleDatatables::DummyPaginator @sorter = ::FlexibleDatatables::ProxySorter end |
Instance Attribute Details
#items_per_page ⇒ Object
Returns the value of attribute items_per_page.
4 5 6 |
# File 'lib/flexible_datatables/configurator.rb', line 4 def items_per_page @items_per_page end |
#paginator ⇒ Object
Returns the value of attribute paginator.
4 5 6 |
# File 'lib/flexible_datatables/configurator.rb', line 4 def paginator @paginator end |
#sorter ⇒ Object
Returns the value of attribute sorter.
4 5 6 |
# File 'lib/flexible_datatables/configurator.rb', line 4 def sorter @sorter end |