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.
862 863 864 |
# File 'lib/puppeteer/page.rb', line 862 def initialize(expression) @expression = expression end |
Instance Method Details
#source ⇒ Object
866 867 868 |
# File 'lib/puppeteer/page.rb', line 866 def source @expression end |