Sha256: 4c469248852b46f0f027c1b28d027ca8a0cded6c3359fbb7f8c05d382ca870f7

Contents?: true

Size: 571 Bytes

Versions: 111

Compression:

Stored size: 571 Bytes

Contents

# frozen_string_literal: true

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

            private

            def target_subpath
              ::Avm::EacLatexBase0::Sources::Build.chapter_filename(
                File.basename(File.dirname(subpath))
              ) + '.tex'
            end
          end
        end
      end
    end
  end
end

Version data entries

111 entries across 111 versions & 2 rubygems

Version Path
eac_tools-0.49.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.48.1 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.48.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.47.2 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.47.1 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.47.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.46.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.45.2 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.45.1 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.45.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.44.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.43.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.42.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.41.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.40.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.39.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
avm-eac_latex_base0-0.3.0 lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.38.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.37.2 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.37.1 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb