Class: Prmd::RakeTasks::Doc
- Defined in:
- lib/prmd/rake_tasks/doc.rb
Overview
Documentation rake task
Instance Attribute Summary collapse
-
#files ⇒ Array<String>, Hash<String, String>
Schema files that should be verified.
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(name = :doc, &block) ⇒ Doc
constructor
Creates a new task with name
name
.
Constructor Details
#initialize(name = :doc, &block) ⇒ Doc
Creates a new task with name name
.
25 26 27 28 29 |
# File 'lib/prmd/rake_tasks/doc.rb', line 25 def initialize(name = :doc, &block) @files = [] super name, &block @options[:template] ||= Prmd::Template.template_dirname end |
Instance Attribute Details
#files ⇒ Array<String>, Hash<String, String>
Schema files that should be verified
20 21 22 |
# File 'lib/prmd/rake_tasks/doc.rb', line 20 def files @files end |