Module: Tins::ParameterizedModule
- Included in:
- Module, FromModule
- Defined in:
- lib/tins/dslkit.rb
Instance Method Summary collapse
-
#parameterize_for(*args, &block) ⇒ Object
Pass args and block to configure the module and then return it after calling the parameterize method has been called with these arguments.
Instance Method Details
#parameterize_for(*args, &block) ⇒ Object
Pass args and block to configure the module and then return it after calling the parameterize method has been called with these arguments. The parameterize method should return a configured module.
536 537 538 |
# File 'lib/tins/dslkit.rb', line 536 def parameterize_for(*args, &block) respond_to?(:parameterize) ? parameterize(*args, &block) : self end |