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.24.1 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.24.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
avm-eac_latex_base0-0.1.2 lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.23.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.22.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
avm-eac_latex_base0-0.1.1 lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.21.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.20.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.19.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
eac_tools-0.18.0 sub/avm-eac_latex_base0/lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb
avm-eac_latex_base0-0.1.0 lib/avm/eac_latex_base0/sources/build/file/chapter_index.rb