Exception: CommandLine::UnknownFlag

Inherits:
Error
  • Object
show all
Defined in:
lib/command_line/exceptions.rb

Overview

Encountered an unkown flag

Instance Method Summary collapse

Constructor Details

#initialize(flag) ⇒ UnknownFlag

Returns a new instance of UnknownFlag.



32
33
34
# File 'lib/command_line/exceptions.rb', line 32

def initialize(flag)
  super("#{flag} not recognized as a valid flag!")
end