module Mineshaft::Shell

Public Instance Methods

shell(dir, cmd) click to toggle source
# File lib/mineshaft/shell.rb, line 11
def shell(dir, cmd)
  puts "Running cd #{dir} && #{cmd}"
  %x{ cd #{dir} && #{cmd} }
end