lib/args_parser/styles/default.rb in args_parser-0.1.6 vs lib/args_parser/styles/default.rb in args_parser-0.2.0
- old
+ new
@@ -9,10 +9,10 @@
unless k
if arg =~ is_key
k = arg.scan(is_key)[0][0].strip.to_sym
k = aliases[k] if aliases[k]
else
- self.argv.push arg
+ @argv.push arg
end
else
if arg =~ is_key
params[k][:value] = true
k = arg.scan(is_key)[0][0].strip.to_sym