Class: Haskii::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/haskii/cli.rb

Instance Method Summary collapse

Instance Method Details

#bar(*frequences) ⇒ Object



34
35
36
37
38
39
40
# File 'lib/haskii/cli.rb', line 34

def bar(*frequences)
  @frequences = frequences
  @output_file = options[:output]
  @emoji = options[:emoji]

  it_can_be_charted ? create_output : ask_for_numbers
end

#versionObject



43
44
45
# File 'lib/haskii/cli.rb', line 43

def version
  puts "Haskii version #{Haskii::VERSION}"
end