Module: Avm::Launcher::Stereotype

Defined in:
lib/avm/launcher/stereotype.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.git_stereotypesObject



14
15
16
# File 'lib/avm/launcher/stereotype.rb', line 14

def git_stereotypes
  stereotypes.select { |c| c.name.demodulize.downcase.match('git') }
end

.included(base) ⇒ Object



10
11
12
# File 'lib/avm/launcher/stereotype.rb', line 10

def included(base)
  base.extend(ClassMethods)
end

.nogit_stereotypesObject



18
19
20
# File 'lib/avm/launcher/stereotype.rb', line 18

def nogit_stereotypes
  stereotypes - git_stereotypes
end

.stereotypesObject



22
23
24
# File 'lib/avm/launcher/stereotype.rb', line 22

def stereotypes
  ::Avm::Registry.launcher_stereotypes.available
end