Module: Serega::SeregaPlugins::Preloads::AttributeNormalizerInstanceMethods
- Defined in:
- lib/serega/plugins/preloads/preloads.rb
Overview
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.
224 225 226 227 228 |
# File 'lib/serega/plugins/preloads/preloads.rb', line 224 def preloads return @preloads if instance_variable_defined?(:@preloads) @preloads = prepare_preloads end |
#preloads_path ⇒ Array?
Returns normalized attribute preloads path.
231 232 233 234 235 |
# File 'lib/serega/plugins/preloads/preloads.rb', line 231 def preloads_path return @preloads_path if instance_variable_defined?(:@preloads_path) @preloads_path = prepare_preloads_path end |