Skip to content

Commit eb73648

Browse files
committed
Avoid unnecessary send
1 parent 4bec0c3 commit eb73648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubocop/rails/inject.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module Rails
77
module Inject
88
def self.defaults!
99
path = CONFIG_DEFAULT.to_s
10-
hash = ConfigLoader.send(:load_yaml_configuration, path)
10+
hash = ConfigLoader.load_yaml_configuration(path)
1111
config = Config.new(hash, path).tap(&:make_excludes_absolute)
1212
puts "configuration from #{path}" if ConfigLoader.debug?
1313
config = ConfigLoader.merge_with_default(config, path, unset_nil: false)

0 commit comments

Comments
 (0)