Ruby - Modules and Mixins
How do you correctly use
prepend to add module Logger to class Application in Ruby?prepend to add module Logger to class Application in Ruby?Application and the module is Logger.prepend keyword inside the classprepend Logger inside the class definition.prepend ModuleName [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions