diff options
Diffstat (limited to 'lib/slop/option.rb')
-rw-r--r-- | lib/slop/option.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/slop/option.rb b/lib/slop/option.rb index 09944c1..e462366 100644 --- a/lib/slop/option.rb +++ b/lib/slop/option.rb @@ -150,7 +150,7 @@ class Slop case value.to_s when /\A(\d+?)(?:\.\.|-|,)(\d+)\z/ Integer($1) .. Integer($2) - when /\A(\d+?)...(\d+)\z/ + when /\A(\d+?)\.\.\.(\d+)\z/ Integer($1) ... Integer($2) else value |