method
notwice
v2_6_3 -
Show latest stable
- Class:
OptionParser
notwice(obj, prv, msg)private
Checks if an argument is given twice, in which case an ArgumentError is raised. Called from OptionParser#switch only.
obj |
New argument. |
prv |
Previously specified argument. |
msg |
Exception message. |