Intro to Ruby - Day 17 - Hashes and Enumerable

preview_player
Показать описание
More uses of hashes
Рекомендации по теме
Комментарии
Автор

There is no string.like type method in Ruby, so it would be difficult to program something to find songs that were misspelled or "close" to the song. That is what databases do with the LIKE command. I have never looked, but there might be some sort of gem out there that would do searches like you are wanting.

lockersoft
Автор

It might - but what I teach in class is to try not to make the user type in anything that could be misspelled - so instead give the user a menu listing of the songs in your album, or a list of albums, etc.

lockersoft
Автор

i have been following the tutorials, please can you provide links to the assignments?

AdeyemiBabalola