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.116.2 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.116.1 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.116.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.115.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.114.2 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.114.1 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.114.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.113.6 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.113.5 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.113.4 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.113.3 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.113.2 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.113.1 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.113.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.112.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.111.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.110.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.109.1 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.109.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.108.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb