rudo 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/walk +1 -5
  2. metadata +3 -3
data/bin/walk CHANGED
@@ -10,11 +10,7 @@ print_options = Trollop::options do
10
10
  opt :color, "Print with colors", :default => true
11
11
  end
12
12
 
13
- begin
14
- steps = Integer(ARGV[1])
15
- rescue
16
- steps = 1
17
- end
13
+ steps = ARGV[0] ? Integer(ARGV[0]) : 1
18
14
 
19
15
  r = Rudo.new(init_options)
20
16
  r.walk(steps)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rudo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Robert Fletcher