Module: Serega::SeregaPlugins::Preloads::MainPreloadPath::ClassMethods
- Included in:
- Serega::SeregaPlugins::Preloads::MainPreloadPath
- Defined in:
- lib/serega/plugins/preloads/lib/main_preload_path.rb
Instance Method Summary collapse
Instance Method Details
#call(preloads) ⇒ Object
9 10 11 12 13 |
# File 'lib/serega/plugins/preloads/lib/main_preload_path.rb', line 9 def call(preloads) return FROZEN_EMPTY_ARRAY if preloads.empty? main_path(preloads) end |