Method: Sequel::Model::Associations::ClassMethods#freeze
- Defined in:
- lib/sequel/model/associations.rb
#freeze ⇒ Object
Freeze association related metadata when freezing model class.
1968 1969 1970 1971 1972 1973 1974 1975 1976 |
# File 'lib/sequel/model/associations.rb', line 1968 def freeze @association_reflections.freeze.each_value(&:freeze) @autoreloading_associations.freeze.each_value(&:freeze) @default_association_options.freeze @default_association_type_options.freeze @default_association_type_options.each_value(&:freeze) super end |