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, options={})
  if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby'
    jruby_execute(command, options)
  else
    ruby_execute(command, options)
  end
end