File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -275,9 +275,9 @@ def configure(&block)
275
275
# define_type :point, Point
276
276
# end
277
277
#
278
- # @param [ Symbol | String ] field_type the identifier of the
279
- # defined type. This identifier will be accessible as either a
280
- # string or a symbol regardless of the type passed to this method.
278
+ # @param [ Symbol | String ] field_type The identifier of the
279
+ # defined type. This identifier may be accessible as either a
280
+ # Symbol or a String regardless of the type passed to this method.
281
281
# @param [ Module ] klass the class of the defined type, which must
282
282
# include mongoize, demongoize, and evolve methods.
283
283
def define_type ( field_type , klass )
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ def get(field_type)
63
63
# @example
64
64
# Mongoid::FieldTypes.define_type(:point, Point)
65
65
#
66
- # @param [ Symbol | String ] field_type the identifier of the
67
- # defined type. This identifier will be accessible as either a
68
- # string or a symbol regardless of the type passed to this method.
66
+ # @param [ Symbol | String ] field_type The identifier of the
67
+ # defined type. This identifier may be accessible as either a
68
+ # Symbol or a String regardless of the type passed to this method.
69
69
# @param [ Class ] klass the class of the defined type, which must
70
70
# include mongoize, demongoize, and evolve methods.
71
71
def define_type ( field_type , klass )
You can’t perform that action at this time.
0 commit comments