Class: Playwright::Execution
- Inherits:
-
Object
- Object
- Playwright::Execution
- Defined in:
- lib/playwright.rb
Instance Attribute Summary collapse
-
#playwright ⇒ Object
readonly
Returns the value of attribute playwright.
Instance Method Summary collapse
-
#initialize(connection, playwright) ⇒ Execution
constructor
A new instance of Execution.
- #stop ⇒ Object
Constructor Details
#initialize(connection, playwright) ⇒ Execution
Returns a new instance of Execution.
39 40 41 42 |
# File 'lib/playwright.rb', line 39 def initialize(connection, playwright) @connection = connection @playwright = playwright end |
Instance Attribute Details
#playwright ⇒ Object (readonly)
Returns the value of attribute playwright.
48 49 50 |
# File 'lib/playwright.rb', line 48 def playwright @playwright end |
Instance Method Details
#stop ⇒ Object
44 45 46 |
# File 'lib/playwright.rb', line 44 def stop @connection.stop end |