Sha256: c5c04468348cbb39f23c10d079f80c95f9ad3166576487db7acb8eb7922029eb

Contents?: true

Size: 358 Bytes

Versions: 1

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

module Roadie
  # @api private
  # Null Object for the URL rewriter role.
  #
  # Used whenever client does not pass any URL options and no URL rewriting
  # should take place.
  class NullUrlRewriter
    def initialize(generator = nil) end
    def transform_dom(dom) end
    def transform_css(css)
      css
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roadie-4.0.0 lib/roadie/null_url_rewriter.rb