Examveda

Which sequence can be used to substitute the value of any ruby expression in a string?

A. #(expr)

B. #{expr}

C. #expr

D. None of the mentioned

Answer: Option B


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

Join The Discussion

Related Questions on Basic Syntax in Ruby