Exception: Copyleaks::CommandException
- Inherits:
-
StandardError
- Object
- StandardError
- Copyleaks::CommandException
- Defined in:
- lib/copyleaks/models/exceptions/command_exception.rb
Instance Attribute Summary collapse
-
#reason ⇒ Object
readonly
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize(reason) ⇒ CommandException
constructor
A new instance of CommandException.
Constructor Details
#initialize(reason) ⇒ CommandException
Returns a new instance of CommandException.
28 29 30 |
# File 'lib/copyleaks/models/exceptions/command_exception.rb', line 28 def initialize(reason) @reason = reason end |
Instance Attribute Details
#reason ⇒ Object (readonly)
Returns the value of attribute reason.
26 27 28 |
# File 'lib/copyleaks/models/exceptions/command_exception.rb', line 26 def reason @reason end |