method

notwice

Importance_1
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.

Show source
Register or log in to add new notes.