Method: HoneyFormat::BenchmarkCLI#initialize
- Defined in:
- lib/honey_format/cli/benchmark_cli.rb
#initialize(writer: CLIResultWriter.new) ⇒ BenchmarkCLI
Instantiate the CLI
20 21 22 23 24 25 |
# File 'lib/honey_format/cli/benchmark_cli.rb', line 20 def initialize(writer: CLIResultWriter.new) @used_input_path = nil @writer = writer @options = (argv: ARGV) writer.verbose = true if @options[:verbose] end |