diff options
author | Lee Jarvis <lee@jarvis.co> | 2010-12-02 13:29:22 +0000 |
---|---|---|
committer | Lee Jarvis <lee@jarvis.co> | 2010-12-02 13:29:22 +0000 |
commit | 535db6620c468e6c4faa9093cfa359e6b76275c6 (patch) | |
tree | 3db8a2c676cd5138956107d2239aed611d919a30 | |
parent | 9309cc4736e26bcdf65a7d2bfd822d769e697b73 (diff) | |
download | slop-535db6620c468e6c4faa9093cfa359e6b76275c6.tar.gz |
fixed typo in Option#switch_argument_value
-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 530b646..f691b31 100644 --- a/lib/slop/option.rb +++ b/lib/slop/option.rb @@ -125,7 +125,7 @@ class Slop # Now when the `-v` or `--verbose` option is supplied, verbose will # be set to `true`, rather than the default `false` option def switch_argument_value - @argument_value = @option[:switch] + @argument_value = @options[:switch] end # return a key for an option, prioritize |