diff options
author | Nobuyoshi Nakada <[email protected]> | 2019-10-24 01:06:59 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2019-11-12 17:24:48 +0900 |
commit | fb6a489af2765a3b56e301adf0019af6bbad6156 (patch) | |
tree | c024078f3a408d33e41aec446e17f5142907eb87 /lib/optparse.rb | |
parent | b41a19f92fdd9c8567e0650ceebb72386a96e395 (diff) |
Revert "Method reference operator"
This reverts commit 67c574736912003c377218153f9d3b9c0c96a17b.
[Feature #16275]
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 b6d7170487..614ebc3eae 100644 --- a/lib/optparse.rb +++ b/lib/optparse.rb @@ -1781,7 +1781,7 @@ XXX visit(:complete, typ, opt, icase, *pat) {|o, *sw| return sw} } exc = ambiguous ? AmbiguousOption : InvalidOption - raise exc.new(opt, additional: self.:additional_message.curry[typ]) + raise exc.new(opt, additional: self.method(:additional_message).curry[typ]) end private :complete |