Class: EasyExports::Export
- Inherits:
-
Object
- Object
- EasyExports::Export
- Defined in:
- lib/easy_exports/export.rb
Instance Attribute Summary collapse
-
#csv_string ⇒ Object
readonly
Returns the value of attribute csv_string.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(exported_data, exported_data_csv_string) ⇒ Export
constructor
A new instance of Export.
Constructor Details
#initialize(exported_data, exported_data_csv_string) ⇒ Export
Returns a new instance of Export.
7 8 9 10 |
# File 'lib/easy_exports/export.rb', line 7 def initialize(exported_data, exported_data_csv_string) @data = exported_data @csv_string = exported_data_csv_string end |
Instance Attribute Details
#csv_string ⇒ Object (readonly)
Returns the value of attribute csv_string.
5 6 7 |
# File 'lib/easy_exports/export.rb', line 5 def csv_string @csv_string end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'lib/easy_exports/export.rb', line 5 def data @data end |