Class: ActiveModel::DeprecationHandlingDetailsHash
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- ActiveModel::DeprecationHandlingDetailsHash
- Defined in:
- activemodel/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.
615 616 617 618 619 |
# File 'activemodel/lib/active_model/errors.rb', line 615 def initialize(details) details.default = [] details.freeze super(details) end |