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
38 39 40 41 |
# File 'lib/playwright.rb', line 38 def initialize(connection, playwright) @connection = connection @playwright = playwright end |
Instance Attribute Details
#playwright ⇒ Object (readonly)
Returns the value of attribute playwright.
47 48 49 |
# File 'lib/playwright.rb', line 47 def playwright @playwright end |
Instance Method Details
#stop ⇒ Object
43 44 45 |
# File 'lib/playwright.rb', line 43 def stop @connection.stop end |