Class: CSVPlusPlus::Writer::BaseWriter

Inherits:
Object
  • Object
show all
Extended by:
T::Helpers, T::Sig
Defined in:
lib/csv_plus_plus/writer/base_writer.rb

Overview

Some shared functionality that all Writers should build on

Direct Known Subclasses

CSV, Excel, GoogleSheets, OpenDocument

Instance Attribute Summary collapse

Instance Attribute Details

#optionsOptions (readonly)

The supplied options - some of which are relevant for our writer instance

Returns:

  • (Options)

    the current value of options



10
11
12
# File 'lib/csv_plus_plus/writer/base_writer.rb', line 10

def options
  @options
end

#runtimeRuntime (readonly)

The current runtime - needed to resolve variables and display useful error messages

Returns:

  • (Runtime)

    the current value of runtime



10
11
12
# File 'lib/csv_plus_plus/writer/base_writer.rb', line 10

def runtime
  @runtime
end