lib/roadie/null_url_rewriter.rb in roadie-3.5.1 vs lib/roadie/null_url_rewriter.rb in roadie-4.0.0
- old
+ new
@@ -1,12 +1,16 @@
+# 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) end
+ def transform_css(css)
+ css
+ end
end
end