Skip to content

Commit 3327b80

Browse files
committed
Update comment
1 parent c93d50b commit 3327b80

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

lib/mongoid/fields.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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)

lib/mongoid/fields/field_types.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)