Module: Pult::Panel::Provider

Defined in:
lib/init/struct.rb,
lib/pult/panel/provider.rb

Defined Under Namespace

Modules: Pult, Rake, Service

Class Method Summary collapse

Class Method Details

.app_dirs(panel) ⇒ Object



10
11
12
13
14
# File 'lib/pult/panel/provider.rb', line 10

def self.app_dirs panel
  arr = []
  panel.each{|app, h| arr << [app, h.dig(*%w{config dir})] }
  arr
end

.files(file, root) ⇒ Object

here logic for multi or single app mode



6
7
8
# File 'lib/pult/panel/provider.rb', line 6

def self.files file, root
  root + '/**/' + file
end