Class: Puppeteer::JSCoverage::ItemWithRawScriptCoverage

Inherits:
Item
  • Object
show all
Defined in:
lib/puppeteer/js_coverage.rb

Instance Attribute Summary collapse

Attributes inherited from Item

#ranges, #text, #url

Instance Method Summary collapse

Constructor Details

#initialize(url:, ranges:, text:, raw_script_coverage:) ⇒ ItemWithRawScriptCoverage

Returns a new instance of ItemWithRawScriptCoverage.



16
17
18
19
# File 'lib/puppeteer/js_coverage.rb', line 16

def initialize(url:, ranges:, text:, raw_script_coverage:)
  super(url: url, ranges: ranges, text: text)
  @raw_script_coverage = raw_script_coverage
end

Instance Attribute Details

#raw_script_coverageObject (readonly)

Returns the value of attribute raw_script_coverage.



20
21
22
# File 'lib/puppeteer/js_coverage.rb', line 20

def raw_script_coverage
  @raw_script_coverage
end