Skip to content

Commit b3dee90

Browse files
authored
Merge pull request rails#42584 from elebow/doc-formatting-validations-class-methods
Formatting markup in an rdoc comment [ci skip]
2 parents f5c092c + ec207a4 commit b3dee90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activemodel/lib/active_model/validations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def validates_each(*attr_names, &block)
118118
# end
119119
# end
120120
#
121-
# Or with a block where self points to the current record to be validated:
121+
# Or with a block where +self+ points to the current record to be validated:
122122
#
123123
# class Comment
124124
# include ActiveModel::Validations

0 commit comments

Comments
 (0)