summaryrefslogtreecommitdiffstats
path: root/tasks/rake/yard.rake
blob: 4fc3f7c97488ceb9d4c6e9ffea3a7f48fe1d1b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
begin
  require 'yard'

  YARD::Rake::YardocTask.new do |t|
    t.files = ['lib/**/*.rb', 'spec/**/*.rb']
  end

rescue LoadError
  # yard not installed (gem install yard)
  #   # http://yardoc.org
end