Class: Csvtool::Domain::CsvStatsSession::StatsSource
- Inherits:
-
Object
- Object
- Csvtool::Domain::CsvStatsSession::StatsSource
- Defined in:
- lib/csvtool/domain/csv_stats_session/stats_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:) ⇒ StatsSource
constructor
A new instance of StatsSource.
Constructor Details
#initialize(path:, separator:, headers_present:) ⇒ StatsSource
Returns a new instance of StatsSource.
9 10 11 12 13 |
# File 'lib/csvtool/domain/csv_stats_session/stats_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_stats_session/stats_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_stats_session/stats_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_stats_session/stats_source.rb', line 7 def separator @separator end |