10 lines
180 B
Ruby
10 lines
180 B
Ruby
|
begin
|
||
|
require 'yard'
|
||
|
|
||
|
YARD::Rake::YardocTask.new
|
||
|
rescue LoadError
|
||
|
task :yard do
|
||
|
abort 'YARD is not available. In order to run yard, you must: gem install yard'
|
||
|
end
|
||
|
end
|