Module: Avm::Launcher::Stereotype
- Defined in:
- lib/avm/launcher/stereotype.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
- .git_stereotypes ⇒ Object
- .included(base) ⇒ Object
- .nogit_stereotypes ⇒ Object
- .stereotypes ⇒ Object
Class Method Details
.git_stereotypes ⇒ Object
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_stereotypes ⇒ Object
18 19 20 |
# File 'lib/avm/launcher/stereotype.rb', line 18 def nogit_stereotypes stereotypes - git_stereotypes end |