Examveda

In Ruby, what is the purpose of the `include` keyword in a class definition?

A. To include a module

B. To include a superclass

C. To include a subclass

D. To include a method

Answer: Option A


This Question Belongs to Ruby Programming >> Methods In Ruby

Join The Discussion

Related Questions on Methods in Ruby