Class: Genit::Relativizer
- Inherits:
-
BuilderBase
- Object
- BuilderBase
- Genit::Relativizer
- Defined in:
- lib/genit/builders/relativizer.rb
Overview
Base class for builder that should relativize some links in a XHTML document.
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from BuilderBase
#build, #build_for_page, get_number_of_base_dirs, #initialize
Constructor Details
This class inherits a constructor from Genit::BuilderBase
Instance Method Details
#not_an_internal_link? ⇒ Boolean
11 12 13 |
# File 'lib/genit/builders/relativizer.rb', line 11 def not_an_internal_link? @path.nil? or @path =~ URI::regexp end |