lib/mongoid.rb in mongoid-3.0.9 vs lib/mongoid.rb in mongoid-3.0.10
- old
+ new
@@ -103,10 +103,10 @@
# Mongoid.configure do |config|
# config.allow_dynamic_fields = false
# config.use(name: "mongoid_test", host: "localhost", port: 27017)
# end
#
- # @return [ Config ] The configuration obejct.
+ # @return [ Config ] The configuration object.
#
# @since 1.0.0
def configure
block_given? ? yield(Config) : Config
end