Module: GitWrapper::Commands::Shell
- Defined in:
- lib/git_wrapper/commands/shell.rb
Class Method Summary collapse
Class Method Details
.execute(command, options = {}) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/git_wrapper/commands/shell.rb', line 6 def self.execute(command, ={}) if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' jruby_execute(command, ) else ruby_execute(command, ) end end |