mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add :nodoc
to ActiveModel::Errors
Three classes in `active_model/errors` look internal only.
This commit is contained in:
parent
f96929ae5f
commit
67adc94e00
1 changed files with 3 additions and 3 deletions
|
@ -604,7 +604,7 @@ module ActiveModel
|
|||
end
|
||||
end
|
||||
|
||||
class DeprecationHandlingMessageHash < SimpleDelegator
|
||||
class DeprecationHandlingMessageHash < SimpleDelegator # :nodoc:
|
||||
def initialize(errors)
|
||||
@errors = errors
|
||||
super(prepare_content)
|
||||
|
@ -643,7 +643,7 @@ module ActiveModel
|
|||
end
|
||||
end
|
||||
|
||||
class DeprecationHandlingMessageArray < SimpleDelegator
|
||||
class DeprecationHandlingMessageArray < SimpleDelegator # :nodoc:
|
||||
def initialize(content, errors, attribute)
|
||||
@errors = errors
|
||||
@attribute = attribute
|
||||
|
@ -665,7 +665,7 @@ module ActiveModel
|
|||
end
|
||||
end
|
||||
|
||||
class DeprecationHandlingDetailsHash < SimpleDelegator
|
||||
class DeprecationHandlingDetailsHash < SimpleDelegator # :nodoc:
|
||||
def initialize(details)
|
||||
details.default = []
|
||||
details.freeze
|
||||
|
|
Loading…
Reference in a new issue