Sha256: f4814a9563d27faf922df1bdb21794ba9ccf0b160b4046307963988dbe10088c
Contents?: true
Size: 369 Bytes
Versions: 4
Compression:
Stored size: 369 Bytes
Contents
require "milc/gcloud/backend" require 'logger' require 'logger_pipe' module Milc module Gcloud module Backend class GcloudCommand def execute(cmd, options = {}) options[:dry_run] = Milc.dry_run res = LoggerPipe.run(Milc.logger, cmd, options) block_given? ? yield(res) : res end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems