class Playwright::CLI::Commands::Edit::Command
Public Class Methods
new(name)
click to toggle source
# File lib/playwright/cli/commands/edit/command.rb, line 15 def initialize(name) @name = name end
run(name)
click to toggle source
# File lib/playwright/cli/commands/edit/command.rb, line 11 def self.run(name) new(name).run end
Public Instance Methods
run()
click to toggle source
# File lib/playwright/cli/commands/edit/command.rb, line 19 def run file_manager.open_editor script_name: @name end