Method: RapiDoc::RapiConfig#template_dir
- Defined in:
- lib/rapi_doc/rapi_config.rb
#template_dir(f = nil) ⇒ Object
following helper methods return the directory location if no file type is specified or return the file location for that directory if one is supplied
6 7 8 9 |
# File 'lib/rapi_doc/rapi_config.rb', line 6 def template_dir(f = nil) @template_dir ||= File.join(File.dirname(__FILE__), '../../templates') form_file_name @template_dir, f end |