Method: Ore::Config.builtin_templates
- Defined in:
- lib/ore/config.rb
.builtin_templates {|path| ... } ⇒ Object
The builtin templates.
81 82 83 84 85 86 87 88 89 |
# File 'lib/ore/config.rb', line 81 def Config.builtin_templates path = File.join(DATA_DIR,'ore','templates') if File.directory?(path) Dir.glob("#{path}/*") do |template| yield template if File.directory?(template) end end end |