Class: DubbletrackRemote::Reader::TSV
- Defined in:
- lib/dubbletrack_remote/reader/tsv.rb
Instance Attribute Summary collapse
-
#use_database ⇒ Object
readonly
Returns the value of attribute use_database.
Instance Method Summary collapse
-
#initialize(path, use_database: true) ⇒ TSV
constructor
A new instance of TSV.
Methods inherited from Base
#ingest, #items, #tracks, #traffic
Constructor Details
#initialize(path, use_database: true) ⇒ TSV
Returns a new instance of TSV.
7 8 9 10 11 |
# File 'lib/dubbletrack_remote/reader/tsv.rb', line 7 def initialize(path, use_database: true) @tsv_path = path # ENV['ENCO_LOG_PATH'] || 'RA071819.CSV' ||"K:\\DAD\\ASPLAY\\" @use_database = use_database end |
Instance Attribute Details
#use_database ⇒ Object (readonly)
Returns the value of attribute use_database.
5 6 7 |
# File 'lib/dubbletrack_remote/reader/tsv.rb', line 5 def use_database @use_database end |