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.
378 379 380 381 382 383 |
# File 'lib/puppeteer/page.rb', line 378 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.
384 385 386 |
# File 'lib/puppeteer/page.rb', line 384 def content @content end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
384 385 386 |
# File 'lib/puppeteer/page.rb', line 384 def path @path end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
384 385 386 |
# File 'lib/puppeteer/page.rb', line 384 def type @type end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
384 385 386 |
# File 'lib/puppeteer/page.rb', line 384 def url @url end |