Method: HTMLProofer::Attribute::Url#exists?

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

#exists?Boolean

checks if a file exists relative to the current pwd

Returns:

  • (Boolean)


119
120
121
122
123
# File 'lib/html_proofer/attribute/url.rb', line 119

def exists?
  return true if base64?

  !resolved_path.nil?
end