Class: CommitLive::Submit

Inherits:
Object
  • Object
show all
Defined in:
lib/commit-live/lesson/submit.rb,
lib/commit-live/lesson/git-helper.rb

Defined Under Namespace

Classes: GitHelper

Instance Method Summary collapse

Instance Method Details

#runObject



6
7
8
9
10
# File 'lib/commit-live/lesson/submit.rb', line 6

def run
  	CommitLive::Submit::GitHelper.new().commitAndPush
  	# Just to give GitHub a second to register the repo changes
  	sleep(1)
end