Class: StellarCoreBackup::Cmd
- Inherits:
-
Object
- Object
- StellarCoreBackup::Cmd
- Includes:
- Contracts
- Defined in:
- lib/stellar-core-backup/cmd.rb
Instance Method Summary collapse
-
#initialize(working_dir) ⇒ Cmd
constructor
A new instance of Cmd.
- #run(cmd, args) ⇒ Object
- #run_and_capture(cmd, args) ⇒ Object
Constructor Details
#initialize(working_dir) ⇒ Cmd
Returns a new instance of Cmd.
6 7 8 |
# File 'lib/stellar-core-backup/cmd.rb', line 6 def initialize(working_dir) @working_dir = working_dir end |