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.
274 275 276 |
# File 'lib/serega/plugins/preloads/preloads.rb', line 274 def preloads @preloads ||= PreloadsConstructor.call(nested_points) end |
#preloads_path ⇒ Array<Symbol>
Returns preloads path for current attribute.
281 282 283 |
# File 'lib/serega/plugins/preloads/preloads.rb', line 281 def preloads_path attribute.preloads_path end |