module Sequent::Core::Persistors
Public Class Methods
normalize_symbols(value)
click to toggle source
Normalizes symbol values to strings (by using its name) while preserving all other values. This allows symbol/string indifferent comparisons.
# File lib/sequent/core/persistors/replay_optimized_postgres_persistor.rb, line 379 def self.normalize_symbols(value) value.is_a?(Symbol) ? value.name : value end