Class: Doc::RootMerger
Instance Attribute Summary
Attributes inherited from Merger
Attributes inherited from BaseTask
#config, #dir_name, #documentor, #title
Instance Method Summary collapse
Methods inherited from Merger
Methods inherited from BaseTask
#control_files_exist?, #eql?, #failed?, #hash, #initialize, #loaded_gem_version, #run?, state_methods, #succeeded?
Constructor Details
This class inherits a constructor from Doc::Merger
Instance Method Details
#doc_dir ⇒ Object
3 4 5 |
# File 'lib/doc/root_merger.rb', line 3 def doc_dir documentor.public_dir end |
#run ⇒ Object
7 8 9 10 11 12 |
# File 'lib/doc/root_merger.rb', line 7 def run super if succeeded? (doc_dir / documentor.docs_dir.basename).make_symlink(documentor.docs_dir.relative_path_from(doc_dir)) end end |