bash: ‘export: command not found
MBP-5:~ tako8ki$ cd documents/ruby
MBP-5:ruby tako8ki$ ruby test.rb
13 1 4 3000
Traceback (most recent call last):
        4: from test.rb:16:in `<main>'
        3: from test.rb:16:in `each'
        2: from test.rb:18:in `block in <main>'
        1: from test.rb:18:in `each'
test.rb:20:in `block (2 levels) in <main>': undefined local variable or method `b_ball_count' for main:Object (NameError)
Did you mean?  b_box_ball_count
MBP-5:ruby tako8ki$ ruby test.rb
13 1 4 3000     
173307
MBP-5:ruby tako8ki$ ruby test.rb
13 1 4 3000
173307
MBP-5:ruby tako8ki$ ruby test.rb
13 1 4 300
1806
MBP-5:ruby tako8ki$ ruby test.rb
1 2 3 4
4
MBP-5:ruby tako8ki$ ruby test.rb
^[[A
Traceback (most recent call last):
        1: from test.rb:9:in `<main>'
test.rb:9:in `/': divided by 0 (ZeroDivisionError)
MBP-5:ruby tako8ki$ ruby test.rb
13 1 4 3000
87058
MBP-5:ruby tako8ki$ 