Class: EacLauncher::Stereotypes::Git
- Inherits:
-
Object
- Object
- EacLauncher::Stereotypes::Git
show all
- Includes:
- EacLauncher::Stereotype
- Defined in:
- lib/eac_launcher/stereotypes/git.rb,
lib/eac_launcher/stereotypes/git/warp.rb,
lib/eac_launcher/stereotypes/git/publish.rb
Defined Under Namespace
Classes: Publish, Warp
Class Method Summary
collapse
git_stereotypes, included, nogit_stereotypes
Class Method Details
.color ⇒ Object
15
16
17
|
# File 'lib/eac_launcher/stereotypes/git.rb', line 15
def color
:white
end
|
.match?(path) ⇒ Boolean
11
12
13
|
# File 'lib/eac_launcher/stereotypes/git.rb', line 11
def match?(path)
File.directory?(path.real.subpath('.git'))
end
|