Class: StellarCoreBackup::CmdResult
- Inherits:
-
Object
- Object
- StellarCoreBackup::CmdResult
- Includes:
- Contracts
- Defined in:
- lib/stellar-core-backup/cmd_result.rb
Instance Attribute Summary collapse
-
#out ⇒ Object
readonly
Returns the value of attribute out.
-
#success ⇒ Object
readonly
Returns the value of attribute success.
Instance Method Summary collapse
-
#initialize(success, out = None) ⇒ CmdResult
constructor
A new instance of CmdResult.
Constructor Details
#initialize(success, out = None) ⇒ CmdResult
Returns a new instance of CmdResult.
9 10 11 12 |
# File 'lib/stellar-core-backup/cmd_result.rb', line 9 def initialize(success, out = None) @success = success @out = out end |
Instance Attribute Details
#out ⇒ Object (readonly)
Returns the value of attribute out.
6 7 8 |
# File 'lib/stellar-core-backup/cmd_result.rb', line 6 def out @out end |
#success ⇒ Object (readonly)
Returns the value of attribute success.
5 6 7 |
# File 'lib/stellar-core-backup/cmd_result.rb', line 5 def success @success end |