Q:

What do we mean by expression substitution?

(a) Embedding the value of Ruby expression into a string using #{}

(b) Substituting string functions

(c) Storing string value

(d) None of the mentioned

This question was addressed to me by my college director while I was bunking the class.

The doubt is from Formatting String Methods in section Ruby Basics of Ruby

RUBY

All Replies

Viewing 1 replies (of 1 total)

Viewing 1 replies (of 1 total)

  • You must be logged in to reply to this topic.