SyntaxFix
Write A Post
Hire A Developer
Questions
hash = {"apple" => "fruit", "carrot" => "vegetable"} array = hash.keys #=> ["apple", "carrot"]
it's that simple