lib/mongoid.rb in mongoid-7.0.7 vs lib/mongoid.rb in mongoid-7.0.8
- old
+ new
@@ -100,7 +100,7 @@
#
# @example Delegate the configuration methods.
# Mongoid.database = Mongo::Connection.new.db("test")
#
# @since 1.0.0
- delegate(*(Config.public_instance_methods(false) - [ :logger=, :logger ] << { to: Config }))
+ delegate(*(Config.public_instance_methods(false) - [ :logger=, :logger ]), to: Config)
end