Class: ActiveModel::DeprecationHandlingDetailsHash
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- ActiveModel::DeprecationHandlingDetailsHash
- Defined in:
- lib/active_model/errors.rb
Instance Method Summary collapse
-
#initialize(details) ⇒ DeprecationHandlingDetailsHash
constructor
A new instance of DeprecationHandlingDetailsHash.
Constructor Details
#initialize(details) ⇒ DeprecationHandlingDetailsHash
Returns a new instance of DeprecationHandlingDetailsHash.
661 662 663 664 665 |
# File 'lib/active_model/errors.rb', line 661 def initialize(details) details.default = [] details.freeze super(details) end |