Method: Frontman::App#import_config
- Defined in:
- lib/frontman/app.rb
#import_config(file_path) ⇒ Object
134 135 136 137 138 139 140 |
# File 'lib/frontman/app.rb', line 134 def import_config(file_path) if !file_path.end_with?('.rb') && !File.exist?(file_path) return import_config("#{file_path}.rb") end run File.read(file_path) end |