Flowdock
method

notwice

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - 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.

Show source
Register or log in to add new notes.