Class: ScriptCheckable
Instance Attribute Summary
#line
Instance Method Summary
collapse
#absolute_path, #exists?, #external?, #file_path, #follow_location?, #hash, #ignore?, #ignores_pattern_check, #initialize, #internal?, #non_http_remote?, #parts, #path, #remote?, #scheme, #unslashed_directory?, #url, #valid?
create_nokogiri, swap
Instance Method Details
#blank? ⇒ Boolean
13
14
15
|
# File 'lib/html/proofer/checks/scripts.rb', line 13
def blank?
@content.strip.empty?
end
|
#missing_src? ⇒ Boolean
9
10
11
|
# File 'lib/html/proofer/checks/scripts.rb', line 9
def missing_src?
!src
end
|
#src ⇒ Object
5
6
7
|
# File 'lib/html/proofer/checks/scripts.rb', line 5
def src
real_attr @src
end
|