Module: TemplateMethod::Controls::TemplateMethod::Implemented::PrependedModule::Example::PrependedModule
- Defined in:
- lib/template_method/controls/template_method/implemented.rb
Defined Under Namespace
Modules: SomeMethod
Class Method Summary collapse
Class Method Details
.included(cls) ⇒ Object
58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/template_method/controls/template_method/implemented.rb', line 58 def self.included(cls) cls.class_exec do include ::TemplateMethod prepend SomeMethod template_method :some_method do 'some value' end end end |