Method: YARD::Templates::Template::ClassMethods#find_file
- Defined in:
- lib/yard/templates/template.rb
#find_file(basename) ⇒ String
Searches for a file identified by basename in the template’s path as well as any mixed in template paths. Equivalent to calling #find_nth_file with index of 1.
98 99 100 |
# File 'lib/yard/templates/template.rb', line 98 def find_file(basename) find_nth_file(basename) end |