Class: Wallace::Loggers::CsvLogger
- Inherits:
-
Wallace::Logger
- Object
- Analyser
- Wallace::Logger
- Wallace::Loggers::CsvLogger
- Defined in:
- lib/loggers/csv_logger.rb
Overview
The CSV logger records information in a
Instance Attribute Summary
Attributes inherited from Analyser
Instance Method Summary collapse
-
#initialize(file) ⇒ CsvLogger
constructor
Constructs a new CSV logger.
- #write(data) ⇒ Object
Methods inherited from Analyser
Constructor Details
#initialize(file) ⇒ CsvLogger
Constructs a new CSV logger.
Parameters:
-
file, the CSV file to log to.
-
opts, a hash of keyword options for this logger. -> columns, an ordered list of columns in this CSV. -> headers, an optional hash of headers for the columns in the CSV file.
11 12 13 |
# File 'lib/loggers/csv_logger.rb', line 11 def initialize(file) end |
Instance Method Details
#write(data) ⇒ Object
16 17 18 |
# File 'lib/loggers/csv_logger.rb', line 16 def write(data) end |