aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/spec_set.rb
diff options
context:
space:
mode:
authorCarl Lerche <carllerche@mac.com>2010-05-05 04:08:27 -0700
committerCarl Lerche <carllerche@mac.com>2010-05-05 04:08:27 -0700
commite42dcda117465674fd2fffe64057afc254521ac9 (patch)
tree464d65f7c7fdc9924b12616439274ff946c43339 /lib/bundler/spec_set.rb
parent12442adba1e191c112f63bd0e9c8117dab9cedb0 (diff)
downloadbundler-e42dcda117465674fd2fffe64057afc254521ac9.tar.gz
No need to splat args uselessly
Diffstat (limited to 'lib/bundler/spec_set.rb')
-rw-r--r--lib/bundler/spec_set.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/spec_set.rb b/lib/bundler/spec_set.rb
index c0257242..e869bf5d 100644
--- a/lib/bundler/spec_set.rb
+++ b/lib/bundler/spec_set.rb
@@ -16,9 +16,9 @@ module Bundler
@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