Module: Milestoner::Aids::Git

Included in:
Pusher, Tagger
Defined in:
lib/milestoner/aids/git.rb

Overview

Augments an object with Git support.

Instance Method Summary collapse

Instance Method Details

#git_supported?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/milestoner/aids/git.rb', line 5

def git_supported?
  File.exist? File.join(Dir.pwd, ".git")
end