diff options
Diffstat (limited to 'lib/optparse.rb')
-rw-r--r-- | lib/optparse.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb index f1f207327d..c056ac8d25 100644 --- a/lib/optparse.rb +++ b/lib/optparse.rb @@ -352,7 +352,7 @@ class OptionParser # : (({block})) # (({yields})) at semi-error condition, instead of raises exception. # - def conv_arg(arg, val = nil) + def conv_arg(arg, val = []) if block if conv val = conv.call(*val) |