Permalink
Browse files

No need to splat args uselessly

  • Loading branch information...
1 parent 12442ad commit e42dcda117465674fd2fffe64057afc254521ac9 Carl Lerche committed May 5, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/bundler/spec_set.rb
View
@@ -16,9 +16,9 @@ def length
@specs.length
end
- def for(*deps)
+ def for(deps)
specs = {}
- deps.flatten.each do |dep|
+ deps.each do |dep|
current = lookup[dep.respond_to?(:name) ? dep.name : dep]
append_subgraph(specs, current)
end

0 comments on commit e42dcda

Please sign in to comment.