Method: HTMLProofer::Attribute::Url#protocol_relative?

Defined in:
lib/html_proofer/attribute/url.rb

#protocol_relative?Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/html_proofer/attribute/url.rb', line 29

def protocol_relative?
  url.start_with?("//")
end