lib/celsius/hash.rb in celsius-0.4.2 vs lib/celsius/hash.rb in celsius-0.4.3

- old
+ new

@@ -32,10 +32,10 @@ end end def self.smart_fetch(hash, key) result = hash[key.to_s] - result = hash[key.to_sym] if result.nil? + result = result.nil? ? hash[key.to_sym] : result end def self.smart_store(hash, key, value) if hash[key] unless hash[key].is_a?(Array)