Module: Serega::SeregaPlugins::Preloads::AttributeNormalizerInstanceMethods
- Defined in:
- lib/serega/plugins/preloads/lib/modules/attribute_normalizer.rb
Overview
Serega::SeregaAttributeNormalizer additional/patched instance methods
Instance Method Summary collapse
-
#preloads ⇒ Hash?
Normalized attribute preloads.
-
#preloads_path ⇒ Array?
Normalized attribute preloads path.
Instance Method Details
#preloads ⇒ Hash?
Returns normalized attribute preloads.
13 14 15 16 17 |
# File 'lib/serega/plugins/preloads/lib/modules/attribute_normalizer.rb', line 13 def preloads return @preloads if instance_variable_defined?(:@preloads) @preloads = prepare_preloads end |
#preloads_path ⇒ Array?
Returns normalized attribute preloads path.
20 21 22 23 24 |
# File 'lib/serega/plugins/preloads/lib/modules/attribute_normalizer.rb', line 20 def preloads_path return @preloads_path if instance_variable_defined?(:@preloads_path) @preloads_path = prepare_preloads_path end |