Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in Computers & InternetProgramming & Design · 1 week ago

In Ruby language, how can I use a class name to call methods directly. For instance, if I have a method def spanish that prints Hola...?

and a class named Hello, Hello.spanish would print out Hola.

There are no answers yet.
Be the first to answer this question.