Ruby - Modules and Mixins
Which of the following is the correct way to include a module named
Utilities inside a Ruby class called Toolbox?Utilities inside a Ruby class called Toolbox?include ModuleName inside the class.class, not module, and import is not a Ruby keyword.include inside class to add instance methods. [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions