class Playwright::CLI
Constants
- PLAYS_BIN_PATH
- PLAYS_PATH
- ROOT_PATH
- TEMPLATES_PATH
- VERSION
Public Class Methods
call(*args)
click to toggle source
# File lib/playwright/cli.rb, line 39 def self.call(*args) new(Commands).call(*args) end
configuration()
click to toggle source
# File lib/playwright/cli.rb, line 31 def self.configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/playwright/cli.rb, line 35 def self.configure yield(configuration) end
Public Instance Methods
call(arguments: ARGV, out: $stdout)
click to toggle source
Calls superclass method
# File lib/playwright/cli.rb, line 43 def call(arguments: ARGV, out: $stdout) result = commands.get(arguments) if !result.found? && commands.has_root? result = commands.get_root(arguments) command, args = parse(result, out) command.call(args) else super(*args) end end