Class: Csvtool::Domain::CsvSplitSession::SplitSource
- Inherits:
-
Object
- Object
- Csvtool::Domain::CsvSplitSession::SplitSource
- Defined in:
- lib/csvtool/domain/csv_split_session/split_source.rb
Instance Attribute Summary collapse
-
#headers_present ⇒ Object
readonly
Returns the value of attribute headers_present.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#separator ⇒ Object
readonly
Returns the value of attribute separator.
Instance Method Summary collapse
-
#initialize(path:, separator:, headers_present:) ⇒ SplitSource
constructor
A new instance of SplitSource.
Constructor Details
#initialize(path:, separator:, headers_present:) ⇒ SplitSource
Returns a new instance of SplitSource.
9 10 11 12 13 |
# File 'lib/csvtool/domain/csv_split_session/split_source.rb', line 9 def initialize(path:, separator:, headers_present:) @path = path @separator = separator @headers_present = headers_present end |
Instance Attribute Details
#headers_present ⇒ Object (readonly)
Returns the value of attribute headers_present.
7 8 9 |
# File 'lib/csvtool/domain/csv_split_session/split_source.rb', line 7 def headers_present @headers_present end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
7 8 9 |
# File 'lib/csvtool/domain/csv_split_session/split_source.rb', line 7 def path @path end |
#separator ⇒ Object (readonly)
Returns the value of attribute separator.
7 8 9 |
# File 'lib/csvtool/domain/csv_split_session/split_source.rb', line 7 def separator @separator end |