Module: Playwright::CLI::Registry::ClassMethods

Defined in:
lib/playwright/cli/registry.rb

Instance Method Summary collapse

Instance Method Details

#get_root(arguments) ⇒ Object



23
24
25
# File 'lib/playwright/cli/registry.rb', line 23

def get_root(arguments)
  get([unique_root_string, *arguments])
end

#has_root?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/playwright/cli/registry.rb', line 19

def has_root?
  !!@root_command
end

#register_root(*args) ⇒ Object



14
15
16
17
# File 'lib/playwright/cli/registry.rb', line 14

def register_root(*args)
  register(unique_root_string, *args)
  @root_command = true
end