Module: Serega::SeregaPlugins::Preloads::MapPointInstanceMethods
- Defined in:
- lib/serega/plugins/preloads/preloads.rb
Overview
Serega::SeregaMapPoint additional/patched instance methods
Instance Method Summary collapse
-
#preloads ⇒ Hash
Preloads for nested attributes.
-
#preloads_path ⇒ Array<Symbol>
Preloads path for current attribute.
Instance Method Details
#preloads ⇒ Hash
Returns preloads for nested attributes.
272 273 274 |
# File 'lib/serega/plugins/preloads/preloads.rb', line 272 def preloads @preloads ||= PreloadsConstructor.call(nested_points) end |
#preloads_path ⇒ Array<Symbol>
Returns preloads path for current attribute.
279 280 281 |
# File 'lib/serega/plugins/preloads/preloads.rb', line 279 def preloads_path attribute.preloads_path end |