Class: PlaywrightOnRails::Run
- Inherits:
-
Object
- Object
- PlaywrightOnRails::Run
- Defined in:
- lib/playwright-on-rails/run.rb
Instance Method Summary collapse
- #call(config = Config.new) ⇒ Object
-
#initialize ⇒ Run
constructor
A new instance of Run.
Constructor Details
#initialize ⇒ Run
Returns a new instance of Run.
6 7 8 |
# File 'lib/playwright-on-rails/run.rb', line 6 def initialize @launches_playwright = LaunchesPlaywright.new end |
Instance Method Details
#call(config = Config.new) ⇒ Object
10 11 12 |
# File 'lib/playwright-on-rails/run.rb', line 10 def call(config = Config.new) @launches_playwright.call("test", config) end |