Answers

Question and Answer:

  Home  Ruby Developer

⟩ What is the difference extend and include?

The “include” makes the module’s methods available to the instance of a class, while “extend” makes these methods available to the class itself.

 220 views

More Questions for you: