Class: Spout::Commands::Exporter
- Inherits:
-
Object
- Object
- Spout::Commands::Exporter
- Defined in:
- lib/spout/commands/exporter.rb
Overview
Exports the JSON data dictionary to a CSV format.
Instance Method Summary collapse
-
#initialize(standard_version, argv) ⇒ Exporter
constructor
A new instance of Exporter.
Constructor Details
#initialize(standard_version, argv) ⇒ Exporter
Returns a new instance of Exporter.
13 14 15 16 17 18 |
# File 'lib/spout/commands/exporter.rb', line 13 def initialize(standard_version, argv) @quiet = !argv.delete("--quiet").nil? @standard_version = standard_version @config = Spout::Helpers::ConfigReader.new end |