πŸ“Š Ruby
Q. What does the include keyword do in Ruby?
  • (A) Creates a new instance
  • (B) Defines a new method
  • (C) Mixes in methods from a module into a class
  • (D) Inherits from another class
πŸ’¬ Discuss
βœ… Correct Answer: (C) Mixes in methods from a module into a class

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
103
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
97%
Success Rate