Module: Serega::SeregaPlugins::Preloads::AttributeInstanceMethods

Defined in:
lib/serega/plugins/preloads/lib/modules/attribute.rb

Overview

Serega::SeregaAttribute additional/patched instance methods

Instance Attribute Summary collapse

Instance Attribute Details

#preloadsHash? (readonly)

Returns normalized preloads of current attribute.

Returns:

  • (Hash, nil)

    normalized preloads of current attribute



13
14
15
# File 'lib/serega/plugins/preloads/lib/modules/attribute.rb', line 13

def preloads
  @preloads
end

#preloads_pathArray (readonly)

Returns normalized preloads_path of current attribute.

Returns:

  • (Array)

    normalized preloads_path of current attribute



16
17
18
# File 'lib/serega/plugins/preloads/lib/modules/attribute.rb', line 16

def preloads_path
  @preloads_path
end