Class: Shanty::BundlerMutator
- Defined in:
- lib/shanty/mutators/bundler.rb
Overview
Bundler mutator
Instance Attribute Summary
Attributes inherited from Mutator
Instance Method Summary collapse
Methods inherited from Mutator
#apply_mutations, inherited, #initialize
Constructor Details
This class inherits a constructor from Shanty::Mutator
Instance Method Details
#mutate ⇒ Object
7 8 9 10 11 |
# File 'lib/shanty/mutators/bundler.rb', line 7 def mutate graph.each do |project| BundlerPlugin.add_to_project(project) if File.exist?(File.join(project.path, 'Gemfile')) end end |