Class: StringHash

Inherits:
StringKeyHash show all
Defined in:
lib/doodle/normalized_hash.rb

Instance Method Summary collapse

Methods inherited from StringKeyHash

#normalize_key

Methods included from ModNormalizedHash::ClassMethods

#MultiTypedHash, #[]

Methods included from ModNormalizedHash::OverrideMethods

#normalize_key

Methods included from ModNormalizedHash::InstanceMethods

#[], #[]=, #default, #default=, #delete, #fetch, #has_value?, #index, #initialize, #key?, #merge, #replace, #store, #update, #values_at

Instance Method Details

#normalize_value(v) ⇒ Object



248
249
250
# File 'lib/doodle/normalized_hash.rb', line 248

def normalize_value(v)
  v.to_s
end