Fix rdoc syntax for errors#add (#46857)

This commit is contained in:
zzak 2022-12-31 10:34:02 +09:00 committed by GitHub
parent 9de0d59bb7
commit b9aaf99701
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -121,9 +121,10 @@ def initialize_dup(other) # :nodoc:
attr_reader :attribute
# The type of error, defaults to +:invalid+ unless specified
attr_reader :type
# The raw value provided as the second parameter when calling +errors#add+
# The raw value provided as the second parameter when calling
# <tt>errors#add</tt>
attr_reader :raw_type
# The options provided when calling +errors#add+
# The options provided when calling <tt>errors#add</tt>
attr_reader :options
# Returns the error message.