Class: SourceMonitor::Setup::BundleInstaller

Inherits:
Object
  • Object
show all
Defined in:
lib/source_monitor/setup/bundle_installer.rb

Instance Method Summary collapse

Constructor Details

#initialize(shell: ShellRunner.new) ⇒ BundleInstaller

Returns a new instance of BundleInstaller.



6
7
8
# File 'lib/source_monitor/setup/bundle_installer.rb', line 6

def initialize(shell: ShellRunner.new)
  @shell = shell
end

Instance Method Details

#installObject



10
11
12
# File 'lib/source_monitor/setup/bundle_installer.rb', line 10

def install
  shell.run("bundle", "install")
end