visionmedia-commander 3.1.5 → 3.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/commander.gemspec +1 -1
- data/lib/commander/command.rb +1 -1
- data/lib/commander/version.rb +1 -1
- metadata +1 -1
data/History.rdoc
CHANGED
data/commander.gemspec
CHANGED
data/lib/commander/command.rb
CHANGED
@@ -22,7 +22,7 @@ module Commander
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def method_missing meth, *args, &block
|
25
|
-
meth.to_s =~ /=$/ ? @table[meth.to_s.chop] = args.first : @table[meth
|
25
|
+
meth.to_s =~ /=$/ ? @table[meth.to_s.chop.to_sym] = args.first : @table[meth]
|
26
26
|
end
|
27
27
|
|
28
28
|
def default defaults = {}
|
data/lib/commander/version.rb
CHANGED