Examveda

What does the "stabby lambda" (->) syntax in Ruby represent?

A. It is used to define instance methods

B. It is used to define class methods

C. It is used to define method aliases

D. It is used to define anonymous functions

Answer: Option D


This Question Belongs to Ruby Programming >> Advanced Topics In Ruby

Join The Discussion

Related Questions on Advanced Topics in Ruby