free_mutant/gems/devtools/tasks/yard.rake

9 lines
156 B
Ruby

begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
task :yard do
warn 'In order to run yard, you must: gem install yard'
end
end