I think You are assuming that the learner here is already a (imperative or OOP categorized) programmer who is willing to learn these two languages.
For ruby still there would be some topics you need to know about before trying to learn language itself, if you are just starting out.