Class: Minke::Tasks::Bundle
- Inherits:
-
Object
- Object
- Minke::Tasks::Bundle
- Defined in:
- lib/minke/tasks/bundle.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ Bundle
constructor
A new instance of Bundle.
- #run(args = nil) ⇒ Object
Constructor Details
#initialize(args) ⇒ Bundle
Returns a new instance of Bundle.
5 6 7 8 |
# File 'lib/minke/tasks/bundle.rb', line 5 def initialize args @shell_helper = args[:shell_helper] @logger = args[:logger_helper] end |
Instance Method Details
#run(args = nil) ⇒ Object
10 11 12 13 14 |
# File 'lib/minke/tasks/bundle.rb', line 10 def run args = nil @logger.info '### Install gems' @shell_helper.execute('bundle install') end |