Method: Doc::BaseTask#initialize
- Defined in:
- lib/doc/base_task.rb
#initialize(documentor, options) ⇒ BaseTask
9 10 11 12 13 14 |
# File 'lib/doc/base_task.rb', line 9 def initialize(documentor, ) @documentor = documentor @title = [:title].to_s @dir_name = [:dir_name].to_s doc_dir.touch if doc_dir.exist? end |