Class: GitSquash

Inherits:
Object
  • Object
show all
Defined in:
lib/git-squash.rb,
lib/git-squash/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-squash.rb', line 6

def argv
  @argv
end

Instance Method Details

#run(argv) ⇒ Object



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

def run(argv)
  @argv = argv
  reset_command
  add_command
  commit_command
  push_force_command
end