Sha256: c6ce51185753ffab7e42fe5f0d7e52ec44f3a56fe58f4e526b715f10cc47acd2
Contents?: true
Size: 263 Bytes
Versions: 10
Compression:
Stored size: 263 Bytes
Contents
module Orats # execute various shell commands module Shell def run_from(path, command) run "cd #{path} && #{command} && cd -" end def commit(message) run_from @target_path, "git add -A && git commit -m '#{message}'" end end end
Version data entries
10 entries across 10 versions & 1 rubygems