value?

value?

ri

 ------------------------------------------------------------ Hash#value?
      hsh.has_value?(value)    => true or false
      hsh.value?(value)        => true or false
 ------------------------------------------------------------------------
      Returns  true  if the given value is present for some key in _hsh_.
 
         h = { "a" => 100, "b" => 200 }
         h.has_value?(100)   #=> true
         h.has_value?(999)   #=> false