Class: RoCommands::Git

Inherits:
Base
  • Object
show all
Defined in:
lib/ro_commands/git.rb

Instance Method Summary collapse

Methods inherited from Base

describe, method_added, meths, start, usage

Methods included from Bash

#_bash, #bash, #bash_lines, #bash_per, #bashc, err, #handle_path, out, status

Instance Method Details

#exe(cmd, *args) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/ro_commands/git.rb', line 9

def exe(cmd, *args)
  _cmd = specific(cmd)

  _cmd = "git #{_cmd} #{args.join " "}"
  puts _cmd
  bash _cmd
end