summaryrefslogtreecommitdiff
path: root/lib/bundler/runtime.rb
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 20:51:16 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 20:51:16 -0700
commitaf694073229af89af205d24ff449f51f74316a37 (patch)
tree5258cd3a3832bcc21eaa3249c99cdf410a8f9d0a /lib/bundler/runtime.rb
parentc85c0c9c642dcdccb7d769d7d9a56d51ad314915 (diff)
downloadbundler-af694073229af89af205d24ff449f51f74316a37.tar.gz
[RuboCop] Enable Style/SymbolProc
Diffstat (limited to 'lib/bundler/runtime.rb')
-rw-r--r--lib/bundler/runtime.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/runtime.rb b/lib/bundler/runtime.rb
index 1364f670ea..8736bba656 100644
--- a/lib/bundler/runtime.rb
+++ b/lib/bundler/runtime.rb
@@ -5,7 +5,7 @@ module Bundler
include SharedHelpers
def setup(*groups)
- groups.map! { |g| g.to_sym }
+ groups.map!(&:to_sym)
# Has to happen first
clean_load_path
@@ -55,7 +55,7 @@ module Bundler
]
def require(*groups)
- groups.map! { |g| g.to_sym }
+ groups.map!(&:to_sym)
groups = [:default] if groups.empty?
@definition.dependencies.each do |dep|