Skip to content
Permalink
Browse files

Added Hash#has_value?

  • Loading branch information
Alex Gaynor
Alex Gaynor committed Apr 9, 2013
1 parent e4bad6d commit c0d21726ca960ea22e48380d8b02ea9356ea1a18
Showing with 1 addition and 2 deletions.
  1. +1 −0 lib-topaz/hash.rb
  2. +0 −2 spec/tags/core/hash/has_value_tags.txt
@@ -91,6 +91,7 @@ def value?(value)
end
false
end
alias has_value? value?

def values_at(*keys)
keys.map { |k| self[k] }

This file was deleted.

0 comments on commit c0d2172

Please sign in to comment.