Class: Space::Core::CLI::Outcome
- Inherits:
-
Data
- Object
- Data
- Space::Core::CLI::Outcome
- Defined in:
- lib/space_core/cli.rb
Instance Attribute Summary collapse
-
#exit_code ⇒ Object
readonly
Returns the value of attribute exit_code.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(exit_code:, message: nil) ⇒ Outcome
constructor
A new instance of Outcome.
Constructor Details
#initialize(exit_code:, message: nil) ⇒ Outcome
Returns a new instance of Outcome.
13 |
# File 'lib/space_core/cli.rb', line 13 def initialize(exit_code:, message: nil) = super |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code
12 13 14 |
# File 'lib/space_core/cli.rb', line 12 def exit_code @exit_code end |
#message ⇒ Object (readonly)
Returns the value of attribute message
12 13 14 |
# File 'lib/space_core/cli.rb', line 12 def @message end |