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
|
||||||
end
|
end
|
||||||
|
|
||||||
class DeprecationHandlingMessageHash < SimpleDelegator
|
class DeprecationHandlingMessageHash < SimpleDelegator # :nodoc:
|
||||||
def initialize(errors)
|
def initialize(errors)
|
||||||
@errors = errors
|
@errors = errors
|
||||||
super(prepare_content)
|
super(prepare_content)
|
||||||
|
@ -643,7 +643,7 @@ module ActiveModel
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class DeprecationHandlingMessageArray < SimpleDelegator
|
class DeprecationHandlingMessageArray < SimpleDelegator # :nodoc:
|
||||||
def initialize(content, errors, attribute)
|
def initialize(content, errors, attribute)
|
||||||
@errors = errors
|
@errors = errors
|
||||||
@attribute = attribute
|
@attribute = attribute
|
||||||
|
@ -665,7 +665,7 @@ module ActiveModel
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class DeprecationHandlingDetailsHash < SimpleDelegator
|
class DeprecationHandlingDetailsHash < SimpleDelegator # :nodoc:
|
||||||
def initialize(details)
|
def initialize(details)
|
||||||
details.default = []
|
details.default = []
|
||||||
details.freeze
|
details.freeze
|
||||||
|
|
Loading…
Reference in a new issue