Class: Puppeteer::Page::StyleTag
- Inherits:
-
Object
- Object
- Puppeteer::Page::StyleTag
- Defined in:
- lib/puppeteer/page.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(content: nil, path: nil, url: nil) ⇒ StyleTag
constructor
A new instance of StyleTag.
Constructor Details
#initialize(content: nil, path: nil, url: nil) ⇒ StyleTag
Returns a new instance of StyleTag.
395 396 397 398 399 |
# File 'lib/puppeteer/page.rb', line 395 def initialize(content: nil, path: nil, url: nil) @content = content @path = path @url = url end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
400 401 402 |
# File 'lib/puppeteer/page.rb', line 400 def content @content end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
400 401 402 |
# File 'lib/puppeteer/page.rb', line 400 def path @path end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
400 401 402 |
# File 'lib/puppeteer/page.rb', line 400 def url @url end |