Class: SpaceArchitect::CLI::Outcome
- Inherits:
-
Data
- Object
- Data
- SpaceArchitect::CLI::Outcome
- Defined in:
- lib/space_architect/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.
8 |
# File 'lib/space_architect/cli.rb', line 8 def initialize(exit_code:, message: nil) = super |
Instance Attribute Details
#exit_code ⇒ Object (readonly)
Returns the value of attribute exit_code
7 8 9 |
# File 'lib/space_architect/cli.rb', line 7 def exit_code @exit_code end |
#message ⇒ Object (readonly)
Returns the value of attribute message
7 8 9 |
# File 'lib/space_architect/cli.rb', line 7 def @message end |