Class: Avm::Projects::Stereotypes::RedminePlugin

Inherits:
Object
  • Object
show all
Includes:
Avm::Projects::Stereotype
Defined in:
lib/avm/projects/stereotypes/redmine_plugin.rb

Class Method Summary collapse

Methods included from Avm::Projects::Stereotype

git_stereotypes, included, nogit_stereotypes

Class Method Details

.colorObject



16
17
18
# File 'lib/avm/projects/stereotypes/redmine_plugin.rb', line 16

def color
  :light_magenta
end

.match?(path) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/avm/projects/stereotypes/redmine_plugin.rb', line 12

def match?(path)
  File.exist?(path.real.subpath('init.rb'))
end