In the above example, yahoo is an instance method, but you're trying to
call it as a class method. You should either change it to a class
method, or create an instance of YahooClass and call yahoo on it.