Exception: BranchIOCLI::Helper::CommandError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- BranchIOCLI::Helper::CommandError
- Defined in:
- lib/branch_io_cli/helper/methods.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(args) ⇒ CommandError
constructor
A new instance of CommandError.
Constructor Details
#initialize(args) ⇒ CommandError
5 6 7 8 9 |
# File 'lib/branch_io_cli/helper/methods.rb', line 5 def initialize(args) , status = *args super @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
4 5 6 |
# File 'lib/branch_io_cli/helper/methods.rb', line 4 def status @status end |