Class: Puppeteer::Page::JavaScriptExpression
- Inherits:
-
Object
- Object
- Puppeteer::Page::JavaScriptExpression
- Defined in:
- lib/puppeteer/page.rb
Instance Method Summary collapse
-
#initialize(expression) ⇒ JavaScriptExpression
constructor
A new instance of JavaScriptExpression.
- #source ⇒ Object
Constructor Details
#initialize(expression) ⇒ JavaScriptExpression
Returns a new instance of JavaScriptExpression.
873 874 875 |
# File 'lib/puppeteer/page.rb', line 873 def initialize(expression) @expression = expression end |
Instance Method Details
#source ⇒ Object
877 878 879 |
# File 'lib/puppeteer/page.rb', line 877 def source @expression end |