Module: Avm::With::ApplicationStereotype::ClassMethods
- Defined in:
- lib/avm/with/application_stereotype.rb
Instance Method Summary collapse
- #application_stereotype ⇒ Avm::ApplicationStereotype::Base
- #application_stereotype_name ⇒ String
- #stereotype_namespace_module ⇒ Module
Instance Method Details
#application_stereotype ⇒ Avm::ApplicationStereotype::Base
12 13 14 15 |
# File 'lib/avm/with/application_stereotype.rb', line 12 def application_stereotype @application_stereotype ||= ::Avm::Registry.application_stereotypes.detect(application_stereotype_name) end |
#application_stereotype_name ⇒ String
18 19 20 |
# File 'lib/avm/with/application_stereotype.rb', line 18 def application_stereotype_name stereotype_namespace_module.name.demodulize end |
#stereotype_namespace_module ⇒ Module
23 24 25 |
# File 'lib/avm/with/application_stereotype.rb', line 23 def stereotype_namespace_module module_parent.module_parent end |