Sha256: 2dbeff2bd407f71f586af669406396a5a9cdc50ceb8fd74816ed31b139d8cb36

Contents?: true

Size: 465 Bytes

Versions: 107

Compression:

Stored size: 465 Bytes

Contents

# frozen_string_literal: true

module Avm
  module EacWritingsBase0
    class FileBuild
      module ChapterIndex
        class << self
          def match?(subpath)
            ::File.basename(subpath) == 'index.tex'
          end
        end

        private

        def target_subpath
          ::Avm::EacWritingsBase0::ProjectBuild.chapter_filename(
            File.basename(File.dirname(subpath))
          ) + '.tex'
        end
      end
    end
  end
end

Version data entries

107 entries across 107 versions & 2 rubygems

Version Path
avm-tools-0.130.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.17.0 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.129.1 lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.16.1 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.129.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.16.0 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.128.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.15.0 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.14.0 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.13.0 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.127.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.12.0 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.126.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.11.1 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.125.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.11.0 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.124.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.10.0 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.123.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
eac_tools-0.9.0 sub/avm-tools/lib/avm/eac_writings_base0/file_build/chapter_index.rb