Class: EacLauncher::Stereotypes::RedminePlugin

Inherits:
Object
  • Object
show all
Includes:
EacLauncher::Stereotype
Defined in:
lib/eac_launcher/stereotypes/redmine_plugin.rb

Class Method Summary collapse

Methods included from EacLauncher::Stereotype

included, nogit_stereotypes

Class Method Details

.colorObject



11
12
13
# File 'lib/eac_launcher/stereotypes/redmine_plugin.rb', line 11

def color
  :light_magenta
end

.match?(path) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/eac_launcher/stereotypes/redmine_plugin.rb', line 7

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