Displaying 1 result from an estimated 1 matches for "5ae1fe66".
Did you mean:
58e1fe6
2006 Mar 04
6
Determine if a value is an instance of String , or Array , or...
each loop inside a mixed hash
I need to determine if the value is an instance of String
How ?
hash.each do |k,v|
if v ( instance of ) String
hash[ k ] = v.capitalize
enf
end