Sha256: 3a015db9c0c0bff2af42d2b03753c2da5f0c9e19424f314934fc22fd967f4378
Contents?: true
Size: 657 Bytes
Versions: 15
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true require 'asciidoctor' require 'eac_ruby_utils/core_ext' module Avm module EacAsciidoctorBase0 module Sources class Document module Media MEDIA_DIRECTORY_BASENAME = '_media' def copy_media_directory_to(target_directory_path) return unless media_directory.directory? target_directory_path.parent.mkpath ::FileUtils.copy_entry(media_directory, target_directory_path) end # @return [Pathname] def media_directory root_path.join(MEDIA_DIRECTORY_BASENAME) end end end end end end
Version data entries
15 entries across 15 versions & 2 rubygems