Skip to content

Commit b9aaf99

Browse files
authored
Fix rdoc syntax for errors#add (rails#46857)
1 parent 9de0d59 commit b9aaf99

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

activemodel/lib/active_model/error.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ def initialize_dup(other) # :nodoc:
121121
attr_reader :attribute
122122
# The type of error, defaults to +:invalid+ unless specified
123123
attr_reader :type
124-
# The raw value provided as the second parameter when calling +errors#add+
124+
# The raw value provided as the second parameter when calling
125+
# <tt>errors#add</tt>
125126
attr_reader :raw_type
126-
# The options provided when calling +errors#add+
127+
# The options provided when calling <tt>errors#add</tt>
127128
attr_reader :options
128129

129130
# Returns the error message.

0 commit comments

Comments
 (0)