Sha256: 2a5fcddf98860789d23940a42867a6ad469fa1453bd8734df3ef6f881cb1d0fc

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

module Nanoc2::Filters
  class RelativizePaths < Nanoc2::Filter

    identifier :relativize_paths

    def run(content)
      raise RuntimeError.new(
        "The relativize_paths filter itself does not exist anymore. " +
        "If you want to relativize paths in HTML, use the " +
        "relativize_paths_in_html filter; if you want to relativize paths " +
        "in CSS, use the relativize_paths_in_css filter."
      )
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nanoc2-2.2.3 lib/nanoc2/filters/relativize_paths.rb