Class: Puppeteer::CSSCoverage::Item
- Inherits:
-
Object
- Object
- Puppeteer::CSSCoverage::Item
- Defined in:
- lib/puppeteer/css_coverage.rb
Instance Attribute Summary collapse
-
#ranges ⇒ Object
readonly
Returns the value of attribute ranges.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url:, ranges:, text:) ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize(url:, ranges:, text:) ⇒ Item
Returns a new instance of Item.
7 8 9 10 11 |
# File 'lib/puppeteer/css_coverage.rb', line 7 def initialize(url:, ranges:, text:) @url = url @ranges = ranges @text = text end |
Instance Attribute Details
#ranges ⇒ Object (readonly)
Returns the value of attribute ranges.
12 13 14 |
# File 'lib/puppeteer/css_coverage.rb', line 12 def ranges @ranges end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
12 13 14 |
# File 'lib/puppeteer/css_coverage.rb', line 12 def text @text end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
12 13 14 |
# File 'lib/puppeteer/css_coverage.rb', line 12 def url @url end |