method

dup_value!

rails 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.