Method: Wagons::Installer#exclude_specs
- Defined in:
- lib/wagons/installer.rb
#exclude_specs(full, to_be_excluded) ⇒ Object
Removes all gem specifications with the same name in to_be_excluded from full. Versions are ignored.
172 173 174 |
# File 'lib/wagons/installer.rb', line 172 def exclude_specs(full, to_be_excluded) full.clone.delete_if { |s| to_be_excluded.find { |d| s.name == d.name } } end |