Module: Serega::Plugins::Preloads::AttributeMethods

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

Overview

Adds #preloads and #preloads_path Attribute instance method

Instance Method Summary collapse

Instance Method Details

#preloadsObject



51
52
53
54
55
# File 'lib/serega/plugins/preloads/preloads.rb', line 51

def preloads
  return @preloads if defined?(@preloads)

  @preloads = get_preloads
end

#preloads_pathObject



57
58
59
60
61
# File 'lib/serega/plugins/preloads/preloads.rb', line 57

def preloads_path
  return @preloads_path if defined?(@preloads_path)

  @preloads_path = get_preloads_path
end