Exception: CommandLine::FlagExpectsArgument
- Defined in:
- lib/command_line/exceptions.rb
Overview
Missing a required flag argument
Instance Method Summary collapse
-
#initialize(flag) ⇒ FlagExpectsArgument
constructor
A new instance of FlagExpectsArgument.
Constructor Details
#initialize(flag) ⇒ FlagExpectsArgument
Returns a new instance of FlagExpectsArgument.
17 18 19 |
# File 'lib/command_line/exceptions.rb', line 17 def initialize(flag) super("#{flag} expects an argument!") end |