lib/loquor/object_hash.rb in loquor-1.1.0 vs lib/loquor/object_hash.rb in loquor-1.1.1
- old
+ new
@@ -36,10 +36,10 @@
end
end
def respond_to?(key)
return true if super
- @hash.has_key?(key)
+ @hash.has_key?(key.to_s) || @hash.has_key?(key.to_sym)
end
private
def fetch_indescriminately(name, *args)