Class: Proctor::TemplateConfig
- Inherits:
-
Object
- Object
- Proctor::TemplateConfig
- Defined in:
- lib/proctor/template_config.rb
Class Method Summary collapse
Class Method Details
.load(global_options = {}) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/proctor/template_config.rb', line 4 def self.load( = {}) template_files = self.files() template_files.reduce({}) do |a, v| a.merge({File.basename(v) => v}) end end |