diff options
author | Carl Lerche <carllerche@mac.com> | 2010-05-05 04:08:27 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-05-05 04:08:27 -0700 |
commit | e42dcda117465674fd2fffe64057afc254521ac9 (patch) | |
tree | 464d65f7c7fdc9924b12616439274ff946c43339 /lib/bundler/spec_set.rb | |
parent | 12442adba1e191c112f63bd0e9c8117dab9cedb0 (diff) | |
download | bundler-e42dcda117465674fd2fffe64057afc254521ac9.tar.gz |
No need to splat args uselessly
Diffstat (limited to 'lib/bundler/spec_set.rb')
-rw-r--r-- | lib/bundler/spec_set.rb | 4 |
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 |