Class: Roger::Release::Processors::UrlRelativizer
- Defined in:
- lib/roger/release/processors/url_relativizer.rb
Overview
URL relativizer processor The relativizer can be used to rewrite absolute paths in attributes to relative paths during release.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#default_options ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/roger/release/processors/url_relativizer.rb', line 11 def { url_attributes: %w(src href action), match: ["**/*.html"], skip: [] } end |