method
dup_value!
v5.1.7 -
Show latest stable
- Class:
ActiveSupport::Cache::Entry
dup_value!()public
Duplicates the value in a class. This is used by cache implementations that don’t natively serialize entries to protect against accidental cache modifications.