Module: GitHelpers
- Extended by:
- GitHelpers
- Included in:
- GitHelpers
- Defined in:
- lib/git_helpers.rb,
lib/git_helpers/diff.rb,
lib/git_helpers/stats.rb,
lib/git_helpers/branch.rb,
lib/git_helpers/status.rb,
lib/git_helpers/git_dir.rb,
lib/git_helpers/version.rb,
lib/git_helpers/submodules.rb,
lib/git_helpers/raw_helpers.rb,
lib/git_helpers/branch_infos.rb,
lib/git_helpers/extra_helpers.rb
Overview
require 'dr/base/encoding' require 'git_helpers' #if we are required directly
Defined Under Namespace
Modules: GitBranchInfos, GitExtraInfos, GitStats, GitStatus, GitSubmodules Classes: GitBranch, GitDiff, GitDiffDebug, GitDiffHighlight, GitDir, GitFancyDiff
Constant Summary collapse
- DefaultLogOptions =
["-M", "-C", "--no-color"].shelljoin
- GitBranchError =
Class.new(Exception)
- VERSION =
git_helpers version
"0.2"
Class Method Summary collapse
Class Method Details
.create(dir = '.') ⇒ Object
35 36 37 |
# File 'lib/git_helpers.rb', line 35 def self.create(dir='.') GitDir.new(dir) end |