Class: Puppeteer::Page::ScriptTag
- Inherits:
-
Object
- Object
- Puppeteer::Page::ScriptTag
- 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.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(content: nil, path: nil, type: nil, url: nil) ⇒ ScriptTag
constructor
A new instance of ScriptTag.
Constructor Details
#initialize(content: nil, path: nil, type: nil, url: nil) ⇒ ScriptTag
Returns a new instance of ScriptTag.
374 375 376 377 378 379 |
# File 'lib/puppeteer/page.rb', line 374 def initialize(content: nil, path: nil, type: nil, url: nil) @content = content @path = path @type = type @url = url end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
380 381 382 |
# File 'lib/puppeteer/page.rb', line 380 def content @content end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
380 381 382 |
# File 'lib/puppeteer/page.rb', line 380 def path @path end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
380 381 382 |
# File 'lib/puppeteer/page.rb', line 380 def type @type end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
380 381 382 |
# File 'lib/puppeteer/page.rb', line 380 def url @url end |