Module: Avm::EacAsciidoctorBase0::Instances::Build::Document::BodyTarget
- Defined in:
- lib/avm/eac_asciidoctor_base0/instances/build/document/body_target.rb
Constant Summary collapse
- BODY_TARGET_BASENAME =
'index.html'
Instance Method Summary collapse
-
#body_target_path ⇒ Pathname
Absolute path to the output of Asciidoctor’s source file.
- #body_target_write ⇒ Asciidoctor::Document
Instance Method Details
#body_target_path ⇒ Pathname
Absolute path to the output of Asciidoctor’s source file.
21 22 23 |
# File 'lib/avm/eac_asciidoctor_base0/instances/build/document/body_target.rb', line 21 def body_target_path build.target_directory.join(source_document.subpath).join(BODY_TARGET_BASENAME) end |
#body_target_write ⇒ Asciidoctor::Document
26 27 28 29 30 |
# File 'lib/avm/eac_asciidoctor_base0/instances/build/document/body_target.rb', line 26 def body_target_write ::Avm::EacAsciidoctorBase0::Logging::Catcher.on do body_target_write_without_logging_catch end end |