dyntool 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dyntool.rb +4 -2
  2. metadata +2 -2
data/lib/dyntool.rb CHANGED
@@ -307,8 +307,10 @@ class Parameters
307
307
  @c = 0
308
308
  @dcs = []
309
309
  @sdcs = sdcs
310
- @poped = @sdcs.pop(2)
311
- puts @poped
310
+ @poped = @ARGV.pop(2)
311
+ if ((@poped[0] != "-m") || (! @poped[1].is_a? String))
312
+ usage()
313
+ end
312
314
  @ARGV.each do |arg|
313
315
  @c += 1
314
316
  if (@c > 6)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 6
9
- version: 0.2.6
8
+ - 7
9
+ version: 0.2.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ariel Moskovich