Examveda

What is the purpose of the alias_method keyword in Ruby?

A. To create an alias for a method

B. To define a new method

C. To remove a method

D. To call a method with a different name

Answer: Option A


This Question Belongs to Ruby Programming >> Methods In Ruby

Join The Discussion

Related Questions on Methods in Ruby