Class: Clin::CommandLineError

Inherits:
Error
  • Object
show all
Defined in:
lib/clin/errors.rb

Overview

Error cause by the user input(when parsing command)

Direct Known Subclasses

HelpError, OptionError

Class Method Summary collapse

Class Method Details

.severity(value = @severity) ⇒ Object



8
9
10
11
# File 'lib/clin/errors.rb', line 8

def self.severity(value = @severity)
  @severity = value
  @severity ||= 1
end