Module: Sequel::Plugins::Serialization::InstanceMethods

Defined in:
lib/sequel/plugins/serialization.rb

Instance Method Summary collapse

Instance Method Details

#deserialized_valuesObject

Hash of deserialized values, used as a cache.



181
182
183
# File 'lib/sequel/plugins/serialization.rb', line 181

def deserialized_values
  @deserialized_values ||= {}
end

#freezeObject

Freeze the deserialized values



186
187
188
189
# File 'lib/sequel/plugins/serialization.rb', line 186

def freeze
  deserialized_values.freeze
  super
end