Class: OpenGraphElement
- Inherits:
-
HTMLProofer::Element
- Object
- HTMLProofer::Element
- OpenGraphElement
- Defined in:
- lib/html-proofer/check/opengraph.rb
Constant Summary
Constants included from HTMLProofer::Utils
HTMLProofer::Utils::STORAGE_DIR
Instance Attribute Summary
Attributes inherited from HTMLProofer::Element
#alt, #data_proofer_ignore, #href, #id, #line, #link, #name
Instance Method Summary collapse
Methods inherited from HTMLProofer::Element
#absolute_path, #allow_hash_href?, #base, #check_img_http?, #exists?, #external?, #file_path, #follow_location?, #hash, #ignore?, #ignore_alt?, #ignore_empty_alt?, #ignores_pattern_check, #initialize, #internal?, #non_http_remote?, #parts, #path, #remote?, #scheme, #unslashed_directory?, #valid?
Methods included from HTMLProofer::Utils
clean_content, create_nokogiri, #pluralize, swap
Constructor Details
This class inherits a constructor from HTMLProofer::Element
Instance Method Details
#src ⇒ Object
4 5 6 |
# File 'lib/html-proofer/check/opengraph.rb', line 4 def src @content end |
#url ⇒ Object
8 9 10 |
# File 'lib/html-proofer/check/opengraph.rb', line 8 def url src end |