Class: ExcelSerializer::Config
- Inherits:
-
Object
- Object
- ExcelSerializer::Config
- Defined in:
- lib/excel_serializer.rb
Instance Attribute Summary collapse
-
#excel_adapter ⇒ Object
Returns the value of attribute excel_adapter.
-
#translation_adapter ⇒ Object
Returns the value of attribute translation_adapter.
Instance Method Summary collapse
-
#initialize(excel_adapter: :write_excel, translation_adapter: :i18n) ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize(excel_adapter: :write_excel, translation_adapter: :i18n) ⇒ Config
Returns a new instance of Config.
14 15 16 17 18 |
# File 'lib/excel_serializer.rb', line 14 def initialize(excel_adapter: :write_excel, translation_adapter: :i18n) self.excel_adapter = excel_adapter self.translation_adapter = translation_adapter end |
Instance Attribute Details
#excel_adapter ⇒ Object
Returns the value of attribute excel_adapter.
12 13 14 |
# File 'lib/excel_serializer.rb', line 12 def excel_adapter @excel_adapter end |
#translation_adapter ⇒ Object
Returns the value of attribute translation_adapter.
12 13 14 |
# File 'lib/excel_serializer.rb', line 12 def translation_adapter @translation_adapter end |