Sha256: fd9f1d5b995d576e33129e92cc24b2d9d8ccdda4e1e8be29b66f120fa1228916
Contents?: true
Size: 710 Bytes
Versions: 43
Compression:
Stored size: 710 Bytes
Contents
# frozen_string_literal: true require 'asciidoctor' require 'eac_ruby_utils/core_ext' module Avm module EacAsciidoctorBase0 module Instances class Build class Document module Media def copy_media_directory source_document.copy_media_directory_to(media_target_path) end # @return [Pathname] def media_target_path build.target_directory.join( parent_document.present? ? source_document.subpath : '', ::Avm::EacAsciidoctorBase0::Sources::Base::Document::Media::MEDIA_DIRECTORY_BASENAME ) end end end end end end end
Version data entries
43 entries across 43 versions & 2 rubygems