class Playwright::CLI::Commands::Destroy::Command

Constants

DEFAULT_COLOR
PATH_BIN_DIR
TEMPLATE_FILE

Public Class Methods

new(name) click to toggle source
# File lib/playwright/cli/commands/destroy/command.rb, line 19
def initialize(name)
  @name = name
end
run(name) click to toggle source
# File lib/playwright/cli/commands/destroy/command.rb, line 15
def self.run(name)
  new(name).run
end

Public Instance Methods

run() click to toggle source
# File lib/playwright/cli/commands/destroy/command.rb, line 23
def run
  file_manager.uninstall_script @name
end