Module: Fortitude::Widget::Integration::ClassMethods
- Defined in:
- lib/fortitude/widget/integration.rb
Instance Method Summary collapse
-
#rebuild_text_methods!(why, klass = self) ⇒ Object
INTERNAL USE ONLY.
Instance Method Details
#rebuild_text_methods!(why, klass = self) ⇒ Object
INTERNAL USE ONLY
24 25 26 27 28 29 30 31 |
# File 'lib/fortitude/widget/integration.rb', line 24 def rebuild_text_methods!(why, klass = self) rebuilding(:text_methods, why, klass) do class_eval(Fortitude::MethodTemplates::SimpleCompiledTemplate.template('text_method_template').result( :format_output => format_output, :record_emitting_tag => self._fortitude_record_emitting_tag?)) direct_subclasses.each { |s| s.rebuild_text_methods!(why, klass) } end end |