+ 1

How to call a method from a module?

How would you call a method directly from a module in ruby? If you can't do that, please then explain how to call a method from a module in a class.

20th Apr 2017, 10:09 PM
Chris L.
1 Antwort
+ 2
Lets say your module was Snoop and theres a method there called Dog... Snoop::Dog ( •--•)
17th May 2017, 1:35 PM
Complex
Complex - avatar