Actions
Bug #15774
closedOptionParser doesn't accept Date options as stated in the docs
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.2p47 (2019-03-13 revision 67232) [x86_64-linux]
Description
The documentation for OptionParser states that Date, Time and DateTime are supported types for automatic coertion, however, it raises an error if any of those types are provided to the "on" method: "unsupported argument type: Date".
Either the documentation is wrong or there's a bug in the implementation of OptionParser I guess.
Thanks for taking a look into this.
Actions
Like0
Like0Like0Like0