Method: Inch::Utils::ShellHelper#git
- Defined in:
- lib/inch/utils/shell_helper.rb
#git(dir, command) ⇒ Object
4 5 6 7 8 |
# File 'lib/inch/utils/shell_helper.rb', line 4 def git(dir, command) Dir.chdir(dir) do sh("git #{command}") end end |