Mange / roadie
1
# frozen_string_literal: true
2

3 5
module Roadie
4
  # @api private
5
  # Null Object for the URL rewriter role.
6
  #
7
  # Used whenever client does not pass any URL options and no URL rewriting
8
  # should take place.
9 5
  class NullUrlRewriter
10 5
    def initialize(generator = nil) end
11 5
    def transform_dom(dom) end
12 5
    def transform_css(css)
13 5
      css
14
    end
15
  end
16
end

Read our documentation on viewing source code .

Loading