Method: Peeek::CLI#initialize
- Defined in:
- lib/peeek/cli.rb
#initialize(input, output, argv) ⇒ CLI
Initialize the CLI object.
12 13 14 15 16 17 18 19 |
# File 'lib/peeek/cli.rb', line 12 def initialize(input, output, argv) @input = input @output = output = Options.new(argv) rescue Help => e output.puts(e.) exit end |