Class: Wallace::Loggers::CsvLogger

Inherits:
Wallace::Logger show all
Defined in:
lib/loggers/csv_logger.rb

Overview

The CSV logger records information in a

Instance Attribute Summary

Attributes inherited from Analyser

#inputs

Instance Method Summary collapse

Methods inherited from Analyser

#run

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