Class: ActiveInteraction::Errors
- Inherits:
-
ActiveModel::Errors
- Object
- ActiveModel::Errors
- ActiveInteraction::Errors
- Includes:
- Details
- Defined in:
- lib/active_interaction/errors.rb,
lib/active_interaction/backports.rb
Overview
rubocop:disable Style/Documentation
Defined Under Namespace
Modules: Details
Instance Method Summary collapse
-
#merge!(other) ⇒ Errors
Merge other errors into this one.
Methods included from Details
#add_with_details, #clear_with_details, #delete_with_details, #initialize_dup_with_details, #initialize_with_details
Instance Method Details
#merge!(other) ⇒ Errors
Merge other errors into this one.
85 86 87 88 89 90 91 92 93 |
# File 'lib/active_interaction/errors.rb', line 85 def merge!(other) if other.respond_to?(:details) merge_details!(other) else (other) end self end |