Q25
What is the syntax for defining an instance method in Ruby?
A.
def method_name
AnswerB.
def self.method_name
C.
def method_name.self
D.
def method_name.static
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board