Skip to content

Commit 67adc94

Browse files
committed
Add :nodoc to ActiveModel::Errors
Three classes in `active_model/errors` look internal only.
1 parent f96929a commit 67adc94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

activemodel/lib/active_model/errors.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ def deprecation_rename_warning(old_method_name, new_method_name)
604604
end
605605
end
606606

607-
class DeprecationHandlingMessageHash < SimpleDelegator
607+
class DeprecationHandlingMessageHash < SimpleDelegator # :nodoc:
608608
def initialize(errors)
609609
@errors = errors
610610
super(prepare_content)
@@ -643,7 +643,7 @@ def prepare_content
643643
end
644644
end
645645

646-
class DeprecationHandlingMessageArray < SimpleDelegator
646+
class DeprecationHandlingMessageArray < SimpleDelegator # :nodoc:
647647
def initialize(content, errors, attribute)
648648
@errors = errors
649649
@attribute = attribute
@@ -665,7 +665,7 @@ def clear
665665
end
666666
end
667667

668-
class DeprecationHandlingDetailsHash < SimpleDelegator
668+
class DeprecationHandlingDetailsHash < SimpleDelegator # :nodoc:
669669
def initialize(details)
670670
details.default = []
671671
details.freeze

0 commit comments

Comments
 (0)