Class: Puppeteer::JSCoverage::ItemWithRawScriptCoverage
- Defined in:
- lib/puppeteer/js_coverage.rb
Instance Attribute Summary collapse
-
#raw_script_coverage ⇒ Object
readonly
Returns the value of attribute raw_script_coverage.
Attributes inherited from Item
Instance Method Summary collapse
-
#initialize(url:, ranges:, text:, raw_script_coverage:) ⇒ ItemWithRawScriptCoverage
constructor
A new instance of ItemWithRawScriptCoverage.
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_coverage ⇒ Object (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 |