Class: Bunup::Services::Updater
- Inherits:
-
Object
- Object
- Bunup::Services::Updater
- Defined in:
- lib/bunup/services/updater.rb
Overview
Use bundler to update the gem and the Gemfile
Constant Summary collapse
- USING_PATTERN =
/^Using (?<gem_name>.*) (?<installed>.*)$/.freeze
Instance Method Summary collapse
-
#initialize(gem) ⇒ Updater
constructor
A new instance of Updater.
- #perform ⇒ Object
Constructor Details
#initialize(gem) ⇒ Updater
Returns a new instance of Updater.
9 10 11 |
# File 'lib/bunup/services/updater.rb', line 9 def initialize(gem) @gem = gem end |
Instance Method Details
#perform ⇒ Object
13 14 15 |
# File 'lib/bunup/services/updater.rb', line 13 def perform update end |