Module: GitHack

Includes:
PathCommon, SaveExecute
Defined in:
lib/git-hack.rb,
lib/git-hack/commit.rb,
lib/git-hack/version.rb,
lib/git-hack/git_repo.rb,
lib/git-hack/commit_facade.rb,
lib/git-hack/commit_line_builder.rb,
lib/git-hack/simple_line_builder.rb

Defined Under Namespace

Classes: Commit, CommitFacade, CommitLineBuilder, GitRepo, SimpleLineBuilder

Constant Summary collapse

VERSION =
"0.0.6"

Class Method Summary collapse

Methods included from SaveExecute

#execute_success, #ready_to_execute, #success?

Methods included from PathCommon

#absolute_path, #join, #project_dir, #project_file, #require_p

Class Method Details

.commitObject



11
12
13
# File 'lib/git-hack.rb', line 11

def self.commit
	current.commit	
end

.currentObject



8
9
10
# File 'lib/git-hack.rb', line 8

def self.current
	@current || get_dir('.')
end