Module: MSPRelease::Exec::Helpers
- Included in:
- MSPRelease, Build, CLI::Command, Git, Git::Commit, MakeBranch, Project::Base, Project::Gem
- Defined in:
- lib/msp_release/exec.rb
Instance Method Summary collapse
Instance Method Details
#exec(command, options = {}) ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/msp_release/exec.rb', line 23 def exec(command, ={}) # use the options we were constructed with if they exist if respond_to?(:options) [:quiet] = !self..verbose? unless .has_key? :quiet end if respond_to? :exec_name [:name] = exec_name unless .has_key? :name end MSPRelease::Exec.exec(command, ) end |