MCQs > IT & Programming > Ruby > What is the purpose of hash.rehash method in Ruby?

Ruby MCQs

What is the purpose of the following hash method in Ruby?

hash.rehash


Answer

Correct Answer:

it rebuilds hash based on the current values for each key. 

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Ruby Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ruby Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it