Sha256: 20f24974daa80a0979c2a41990f39df8e4fbfa8660d28dfeec34cf0c8cd34850
Contents?: true
Size: 918 Bytes
Versions: 6
Compression:
Stored size: 918 Bytes
Contents
# frozen_string_literal: true require 'avm/eac_asciidoctor_base0/instances/macros' require 'eac_ruby_utils/core_ext' module Avm module EacAsciidoctorBase0 module Instances class Build class Theme TARGET_SUBPATH = '_theme' common_constructor :build # @return [void] def perform copy_theme_to_target end # @return [Pathname] def target_path build.target_directory.join(TARGET_SUBPATH) end # @return [Pathname] def target_stylesheet_path target_path .join(Avm::EacAsciidoctorBase0::Sources::Base::Theme::THEME_STYLESHEET_BASENAME) end protected # @return [void] def copy_theme_to_target build.source.copy_theme_directory_to(target_path) end end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems