Module: EacLauncher::Stereotype
- Included in:
- EacLauncher::Stereotypes::Git, EacLauncher::Stereotypes::GitSubrepo, EacLauncher::Stereotypes::GitSubtree, EacLauncher::Stereotypes::Rails, EacLauncher::Stereotypes::RedminePlugin, EacLauncher::Stereotypes::RubyGem
- Defined in:
- lib/eac_launcher/stereotype.rb
Defined Under Namespace
Modules: ClassMethods
Class Attribute Summary collapse
-
.stereotypes ⇒ Object
readonly
Returns the value of attribute stereotypes.
Class Method Summary collapse
Class Attribute Details
.stereotypes ⇒ Object (readonly)
Returns the value of attribute stereotypes.
4 5 6 |
# File 'lib/eac_launcher/stereotype.rb', line 4 def stereotypes @stereotypes end |
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 |
# File 'lib/eac_launcher/stereotype.rb', line 6 def included(base) @stereotypes ||= [] @stereotypes << base base.extend(ClassMethods) end |
.nogit_stereotypes ⇒ Object
12 13 14 |
# File 'lib/eac_launcher/stereotype.rb', line 12 def nogit_stereotypes stereotypes.reject { |c| c.name.demodulize.downcase.match('git') } end |