Class: Roadie::NullUrlRewriter Private
- Inherits:
-
Object
- Object
- Roadie::NullUrlRewriter
- Defined in:
- lib/roadie/null_url_rewriter.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Null Object for the URL rewriter role.
Used whenever client does not pass any URL options and no URL rewriting should take place.
Instance Method Summary collapse
-
#initialize(generator = nil) ⇒ NullUrlRewriter
constructor
private
A new instance of NullUrlRewriter.
- #transform_css(css) ⇒ Object private
- #transform_dom(dom) ⇒ Object private
Constructor Details
#initialize(generator = nil) ⇒ NullUrlRewriter
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of NullUrlRewriter.
10 11 12 |
# File 'lib/roadie/null_url_rewriter.rb', line 10 def initialize(generator = nil) # Intentionally left blank. end |
Instance Method Details
#transform_css(css) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
17 18 19 |
# File 'lib/roadie/null_url_rewriter.rb', line 17 def transform_css(css) css end |
#transform_dom(dom) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
14 15 |
# File 'lib/roadie/null_url_rewriter.rb', line 14 def transform_dom(dom) end |