README.md in yard-0.9.20 vs README.md in yard-0.9.21
- old
+ new
@@ -224,9 +224,11 @@
The second most obvious is to generate docs via a Rake task. You can do this by
adding the following to your `Rakefile`:
```ruby
+require 'yard'
+
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb', OTHER_PATHS] # optional
t.options = ['--any', '--extra', '--opts'] # optional
t.stats_options = ['--list-undoc'] # optional
end