Class: Shred::Commands::JsDeps

Inherits:
Base
  • Object
show all
Defined in:
lib/shred/commands/js_deps.rb

Instance Attribute Summary

Attributes inherited from Base

#command_config, #command_name, #console

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Shred::Commands::Base

Instance Method Details

#installObject



7
8
9
10
11
12
13
# File 'lib/shred/commands/js_deps.rb', line 7

def install
  run_shell_command(ShellCommand.new(
    command_lines: 'bin/rake bower:install',
    success_msg: "JavaScript dependencies installed",
    error_msg: "JavaScript dependencies could not be installed"
  ))
end