Skip to content

Commit f33417a

Browse files
committed
Fix doc
1 parent b68ccfd commit f33417a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mongoid/fields.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def configure(&block)
238238
#
239239
# @example
240240
# Mongoid::Fields.configure do
241-
# type :point, Point
241+
# define_type :point, Point
242242
# end
243243
#
244244
# @param [ Symbol ] symbol the symbol identifier of the defined type

0 commit comments

Comments
 (0)