Class: Clin::OptionError

Inherits:
CommandLineError show all
Defined in:
lib/clin/errors.rb

Overview

Error when a option is wrong

Instance Method Summary collapse

Methods inherited from CommandLineError

severity

Constructor Details

#initialize(message, option) ⇒ OptionError

Returns a new instance of OptionError.



52
53
54
55
# File 'lib/clin/errors.rb', line 52

def initialize(message, option)
  super(message)
  @option = option
end