Class: CustomTable::Configuration
- Inherits:
-
Object
- Object
- CustomTable::Configuration
- Defined in:
- lib/custom_table/configuration.rb
Instance Attribute Summary collapse
-
#date_format ⇒ Object
Returns the value of attribute date_format.
-
#datetime_format ⇒ Object
Returns the value of attribute datetime_format.
-
#filter_inner_wrapper_class ⇒ Object
Returns the value of attribute filter_inner_wrapper_class.
-
#filter_outer_wrapper_class ⇒ Object
Returns the value of attribute filter_outer_wrapper_class.
-
#icons_framework ⇒ Object
Returns the value of attribute icons_framework.
-
#move_totals_top ⇒ Object
Returns the value of attribute move_totals_top.
-
#show_search_icon ⇒ Object
Returns the value of attribute show_search_icon.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/custom_table/configuration.rb', line 10 def initialize @icons_framework = :bi @filter_outer_wrapper_class = "card" @filter_inner_wrapper_class = "card-body bg-light" @show_search_icon = false @move_totals_top = false @date_format = :default @datetime_format = :short end |
Instance Attribute Details
#date_format ⇒ Object
Returns the value of attribute date_format.
7 8 9 |
# File 'lib/custom_table/configuration.rb', line 7 def date_format @date_format end |
#datetime_format ⇒ Object
Returns the value of attribute datetime_format.
8 9 10 |
# File 'lib/custom_table/configuration.rb', line 8 def datetime_format @datetime_format end |
#filter_inner_wrapper_class ⇒ Object
Returns the value of attribute filter_inner_wrapper_class.
4 5 6 |
# File 'lib/custom_table/configuration.rb', line 4 def filter_inner_wrapper_class @filter_inner_wrapper_class end |
#filter_outer_wrapper_class ⇒ Object
Returns the value of attribute filter_outer_wrapper_class.
4 5 6 |
# File 'lib/custom_table/configuration.rb', line 4 def filter_outer_wrapper_class @filter_outer_wrapper_class end |
#icons_framework ⇒ Object
Returns the value of attribute icons_framework.
3 4 5 |
# File 'lib/custom_table/configuration.rb', line 3 def icons_framework @icons_framework end |
#move_totals_top ⇒ Object
Returns the value of attribute move_totals_top.
6 7 8 |
# File 'lib/custom_table/configuration.rb', line 6 def move_totals_top @move_totals_top end |
#show_search_icon ⇒ Object
Returns the value of attribute show_search_icon.
5 6 7 |
# File 'lib/custom_table/configuration.rb', line 5 def show_search_icon @show_search_icon end |