123456789_123456789_123456789_123456789_123456789_

Class: ActiveModel::DeprecationHandlingDetailsHash

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, SimpleDelegator
Instance Chain:
self, SimpleDelegator
Inherits: SimpleDelegator
  • ::Object
Defined in: activemodel/lib/active_model/errors.rb

Class Method Summary

Constructor Details

.new(details) ⇒ DeprecationHandlingDetailsHash

[ GitHub ]

  
# File 'activemodel/lib/active_model/errors.rb', line 661

def initialize(details)
  details.default = []
  details.freeze
  super(details)
end