Module: UsageMod

Defined in:
lib/Usage.rb

Overview

Use module to hide usage classes

Defined Under Namespace

Classes: Argument, ArgumentList, ArgumentParserPlugin, Base, ChoiceNoTypeError, Choices, ChoicesNotOnOptionError, Error, ExtraArgError, FileAppendDoesntExistError, FileAppendPlugin, FileAppendQueryPlugin, FileInputPlugin, FileOutputExistsError, FileOutputPlugin, FileOutputQueryPlugin, FilePlugin, FileReadLinesPlugin, FloatArgumentPlugin, IOInputError, InfiniteArgNotLast, IntegerArgumentPlugin, InvalidChoiceError, InvalidInputFilenameError, InvalidIntegerError, InvalidTimeError, LongUsageRequested, MismatchedBracesError, MissingOptionArgumentError, MissingOptionsError, NestingOverflow, NestingUnderflow, OpenURIBadFormatError, OpenURIInputPlugin, Option, TimeArgumentPlugin, TooFewArgError, UnknownOptionError

Constant Summary collapse

YES_RESPONSE =

constants for user responses

:yes
NO_RESPONSE =
:non
OVERWRITE_QUERY =
"%s exists, would you like to overwrite it"
APPEND_NO_EXIST_QUERY =
"%s doesn't exist, would you still like to append"