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.94.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.93.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.92.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.91.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.90.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.89.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.88.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.87.1 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.87.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.86.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.85.1 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.85.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.84.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.83.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.82.1 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.82.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.81.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.80.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.79.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb
avm-tools-0.78.0 lib/avm/eac_writings_base0/file_build/chapter_index.rb