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)
275275 # define_type :point, Point
276276 # end
277277 #
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.
281281 # @param [ Module ] klass the class of the defined type, which must
282282 # include mongoize, demongoize, and evolve methods.
283283 def define_type ( field_type , klass )
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ def get(field_type)
6363 # @example
6464 # Mongoid::FieldTypes.define_type(:point, Point)
6565 #
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.
6969 # @param [ Class ] klass the class of the defined type, which must
7070 # include mongoize, demongoize, and evolve methods.
7171 def define_type ( field_type , klass )
You can’t perform that action at this time.
0 commit comments