class Hash::NormalizeKeys::String
An implementation of Hash::NormalizeKeys
in which the keys are normalized to strings.
Private Class Methods
normalize_key(key)
click to toggle source
# File lib/hash/normalizekeys.rb, line 144 def self.normalize_key(key) if key.is_a?(String) return key else key.to_s end end