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

#run(track_slug) ⇒ Object



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

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