Class: Avm::Git::LauncherStereotypes::Git

Inherits:
Object
  • Object
show all
Includes:
Launcher::Stereotype
Defined in:
lib/avm/git/launcher_stereotypes/git.rb,
lib/avm/git/launcher_stereotypes/git/warp.rb,
lib/avm/git/launcher_stereotypes/git/publish.rb,
lib/avm/git/launcher_stereotypes/git/local_project_mixin.rb

Defined Under Namespace

Modules: LocalProjectMixin Classes: Publish, Warp

Class Method Summary collapse

Class Method Details

.colorObject



18
19
20
# File 'lib/avm/git/launcher_stereotypes/git.rb', line 18

def color
  :white
end

.match?(path) ⇒ Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/avm/git/launcher_stereotypes/git.rb', line 14

def match?(path)
  File.directory?(path.real.subpath('.git'))
end