Class: BigShift::CliError
- Inherits:
-
BigShiftError
- Object
- BigShift::CliError
- Defined in:
- lib/bigshift/cli.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
-
#usage ⇒ Object
readonly
Returns the value of attribute usage.
Instance Method Summary collapse
-
#initialize(message, details, usage) ⇒ CliError
constructor
A new instance of CliError.
Constructor Details
#initialize(message, details, usage) ⇒ CliError
Returns a new instance of CliError.
14 15 16 17 18 |
# File 'lib/bigshift/cli.rb', line 14 def initialize(, details, usage) super() @details = details @usage = usage end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
12 13 14 |
# File 'lib/bigshift/cli.rb', line 12 def details @details end |
#usage ⇒ Object (readonly)
Returns the value of attribute usage.
12 13 14 |
# File 'lib/bigshift/cli.rb', line 12 def usage @usage end |