Module: Pult::Panel::Provider
- Defined in:
- lib/init/struct.rb,
lib/pult/panel/provider.rb
Defined Under Namespace
Class Method Summary collapse
- .app_dirs(panel) ⇒ Object
-
.files(file, root) ⇒ Object
here logic for multi or single app mode.
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 |