Class: Link
- Inherits:
-
HTML::Proofer::Checkable
- Object
- HTML::Proofer::Checkable
- Link
- Defined in:
- lib/html/proofer/checks/links.rb
Instance Method Summary collapse
Methods inherited from HTML::Proofer::Checkable
#absolute_path, #exists?, #external?, #file_path, #hash, #ignore?, #ignores_pattern_check, #initialize, #internal?, #parts, #path, #remote?, #scheme, #unslashed_directory?, #url, #valid?
Constructor Details
This class inherits a constructor from HTML::Proofer::Checkable
Instance Method Details
#href ⇒ Object
5 6 7 |
# File 'lib/html/proofer/checks/links.rb', line 5 def href @href unless @href.nil? || @href.empty? end |
#missing_href? ⇒ Boolean
9 10 11 |
# File 'lib/html/proofer/checks/links.rb', line 9 def missing_href? href.nil? and @name.nil? and @id.nil? end |