Method: HTMLProofer::Attribute::Url#parts
- Defined in:
- lib/html_proofer/attribute/url.rb
#parts ⇒ Object
67 68 69 70 71 |
# File 'lib/html_proofer/attribute/url.rb', line 67 def parts @parts ||= Addressable::URI.parse(@url) rescue URI::Error, Addressable::URI::InvalidURIError @parts = nil end |