Examveda

How do you call a method in Ruby?

A. method_name()

B. object.method_name

C. object.method_name()

D. method_name(object)

Answer: Option B


This Question Belongs to Ruby Programming >> Basic Syntax In Ruby

Join The Discussion

Related Questions on Basic Syntax in Ruby