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
14 15 16 17 |
# File 'lib/avm/with/application_stereotype.rb', line 14 def application_stereotype @application_stereotype ||= ::Avm::Registry.application_stereotypes.detect(application_stereotype_name) end |
#application_stereotype_name ⇒ String
20 21 22 |
# File 'lib/avm/with/application_stereotype.rb', line 20 def application_stereotype_name stereotype_namespace_module.name.demodulize end |
#stereotype_namespace_module ⇒ Module
25 26 27 |
# File 'lib/avm/with/application_stereotype.rb', line 25 def stereotype_namespace_module module_parent.module_parent end |