diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:51:16 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:51:16 -0700 |
commit | af694073229af89af205d24ff449f51f74316a37 (patch) | |
tree | 5258cd3a3832bcc21eaa3249c99cdf410a8f9d0a /lib/bundler/runtime.rb | |
parent | c85c0c9c642dcdccb7d769d7d9a56d51ad314915 (diff) | |
download | bundler-af694073229af89af205d24ff449f51f74316a37.tar.gz |
[RuboCop] Enable Style/SymbolProc
Diffstat (limited to 'lib/bundler/runtime.rb')
-rw-r--r-- | lib/bundler/runtime.rb | 4 |
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| |