Module | YARD::Templates::Template::ClassMethods |
In: |
lib/yard/templates/template.rb
|
full_path | [RW] | |
path | [RW] |
Searches for a file identified by basename in the template‘s path as well as any mixed in template paths. Equivalent to calling {ClassMethods#find_nth_file} with index of 1.
@param [String] basename the filename to search for @return [String] the full path of a file on disk with filename
+basename+ in one of the template's paths.
@see find_nth_file
Searches for the nth file (where n = index) identified by basename in the template‘s path and any mixed in template paths.
@param [String] basename the filename to search for @param [Fixnum] index the nth existing file to return @return [String] the full path of the nth file on disk with
filename +basename+ in one of the template paths