Module: Serega::SeregaPlugins::Formatters::AttributeNormalizerInstanceMethods
- Defined in:
- lib/serega/plugins/formatters/formatters.rb
Overview
AttributeNormalizer class additional/patched instance methods
Instance Method Summary collapse
-
#formatter ⇒ Proc, ...
Block or callable instance that will format attribute values.
-
#formatter_signature ⇒ String?
Returns formatter method signature for optimized calling.
Instance Method Details
#formatter ⇒ Proc, ...
Block or callable instance that will format attribute values
162 163 164 |
# File 'lib/serega/plugins/formatters/formatters.rb', line 162 def formatter @formatter ||= prepare_formatter end |
#formatter_signature ⇒ String?
Returns formatter method signature for optimized calling
171 172 173 |
# File 'lib/serega/plugins/formatters/formatters.rb', line 171 def formatter_signature @formatter_signature ||= prepare_formatter_signature end |