3
4
5
6
7
8
9
10
11
12
13
|
# File 'lib/pondize/runner.rb', line 3
def start
if ARGV.length != 2
puts '2 arguments are needed tonality (-7..7) and string'
return 1
end
key_signature= ARGV.first.to_i
puts Convert.new(key_signature, ARGV.last).pondize
0
end
|