Class: GitPc

Inherits:
Object
  • Object
show all
Defined in:
lib/git-pc.rb,
lib/git-pc/version.rb

Constant Summary collapse

VERSION =
"0.0.2"

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#argvObject

Returns the value of attribute argv.



6
7
8
# File 'lib/git-pc.rb', line 6

def argv
  @argv
end

Instance Method Details

#run(argv) ⇒ Object



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

def run(argv)
  @argv = argv

  status_command
  add_command
  commit_command
  push_command
end