Permalink
Browse files

translate value for 'has_key?' to Hash

  • Loading branch information...
reset committed Sep 14, 2012
1 parent ebd2137 commit dde785603fa7c91ce23df097b8e5ad0a30fd54a5
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/thor/core_ext/hash_with_indifferent_access.rb
@@ -45,6 +45,10 @@ def merge!(other)
self
end
+ def has_key?(key)
+ super(convert_key(key))
+ end
+
protected
def convert_key(key)

0 comments on commit dde7856

Please sign in to comment.