Class: Puppeteer::Page::StyleTag

Inherits:
Object
  • Object
show all
Defined in:
lib/puppeteer/page.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content: nil, path: nil, url: nil) ⇒ StyleTag

Returns a new instance of StyleTag.

Parameters:



423
424
425
426
427
# File 'lib/puppeteer/page.rb', line 423

def initialize(content: nil, path: nil, url: nil)
  @content = content
  @path = path
  @url = url
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



428
429
430
# File 'lib/puppeteer/page.rb', line 428

def content
  @content
end

#pathObject (readonly)

Returns the value of attribute path.



428
429
430
# File 'lib/puppeteer/page.rb', line 428

def path
  @path
end

#urlObject (readonly)

Returns the value of attribute url.



428
429
430
# File 'lib/puppeteer/page.rb', line 428

def url
  @url
end