Class: BigShift::CliError

Inherits:
BigShiftError
  • Object
show all
Defined in:
lib/bigshift/cli.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, details, usage) ⇒ CliError

Returns a new instance of CliError.

[View source]

13
14
15
16
17
# File 'lib/bigshift/cli.rb', line 13

def initialize(message, details, usage)
  super(message)
  @details = details
  @usage = usage
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.


11
12
13
# File 'lib/bigshift/cli.rb', line 11

def details
  @details
end

#usageObject (readonly)

Returns the value of attribute usage.


11
12
13
# File 'lib/bigshift/cli.rb', line 11

def usage
  @usage
end