Class: ChefRake::Task::Doc
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- ChefRake::Task::Doc
- Defined in:
- lib/chef/raketasks/doc.rb
Instance Method Summary collapse
-
#initialize ⇒ Doc
constructor
A new instance of Doc.
Constructor Details
#initialize ⇒ Doc
Returns a new instance of Doc.
23 24 25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/chef/raketasks/doc.rb', line 23 def initialize super desc 'Generate Ruby documentation' task :doc do require 'yaml' require 'yard' YARD::Rake::YardocTask.new do |t| t. = %w[--list-undoc] end end end |