Vidyalelo
Ruby Programming · Q117

Basic Syntax in Ruby

Programming · Ruby Programming · question 117

Q117

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

A.
#(expr)
B.
#{expr}
Answer
C.
#expr
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board