Class: Genit::Relativizer

Inherits:
BuilderBase show all
Defined in:
lib/genit/builders/relativizer.rb

Overview

Base class for builder that should relativize some links in a XHTML document.

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

Returns:

  • (Boolean)


11
12
13
# File 'lib/genit/builders/relativizer.rb', line 11

def not_an_internal_link?
  @path.nil? or @path =~ URI::regexp
end