Class: Pokeedex::InstallPlaywright

Inherits:
Object
  • Object
show all
Defined in:
lib/pokeedex/install_playwright.rb

Constant Summary collapse

NODE_VERSION_REQUIRED =
18

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.run!Object



7
8
9
# File 'lib/pokeedex/install_playwright.rb', line 7

def self.run!
  new.run
end

Instance Method Details

#runObject



11
12
13
14
15
# File 'lib/pokeedex/install_playwright.rb', line 11

def run
  check_dependencies!

  install_playwright unless playwright_installed?
end