Class: SourceMonitor::Setup::BundleInstaller
- Inherits:
-
Object
- Object
- SourceMonitor::Setup::BundleInstaller
- Defined in:
- lib/source_monitor/setup/bundle_installer.rb
Instance Method Summary collapse
-
#initialize(shell: ShellRunner.new) ⇒ BundleInstaller
constructor
A new instance of BundleInstaller.
- #install ⇒ Object
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
#install ⇒ Object
10 11 12 |
# File 'lib/source_monitor/setup/bundle_installer.rb', line 10 def install shell.run("bundle", "install") end |