Class: Milc::Gcloud::Backend::GcloudCommand
- Inherits:
-
Object
- Object
- Milc::Gcloud::Backend::GcloudCommand
- Defined in:
- lib/milc/gcloud/backend/gcloud_command.rb
Instance Method Summary collapse
Instance Method Details
#execute(cmd, options = {}) ⇒ Object
12 13 14 15 16 |
# File 'lib/milc/gcloud/backend/gcloud_command.rb', line 12 def execute(cmd, = {}) [:dry_run] = Milc.dry_run res = LoggerPipe.run(Milc.logger, cmd, ) block_given? ? yield(res) : res end |