Method: YARD::Rake::YardocTask#files

Defined in:
lib/yard/rake/yardoc_task.rb

#filesArray<String>

The Ruby source files (and any extra documentation files separated by ‘-’) to process.

Examples:

Task files assignment

YARD::Rake::YardocTask.new do |t|
  t.files   = ['app/**/*.rb', 'lib/**/*.rb', '-', 'doc/FAQ.md', 'doc/Changes.md']
end

Returns:

[View source]

24
25
26
# File 'lib/yard/rake/yardoc_task.rb', line 24

def files
  @files
end