Examveda
Examveda

What is the syntax for defining a method in Ruby?

A. def method_name

B. method method_name

C. function method_name

D. define method_name

Answer: Option A


This Question Belongs to Ruby Programming >> Methods In Ruby

Join The Discussion

Related Questions on Methods in Ruby