Q:

What does %x!ls! represents?

(a) Same as back tick command output `ls`

(b) Same as ‘x’

(c) Same as “xls”

(d) None of the mentioned

I had been asked this question by my school principal while I was bunking the class.

Query is from Formatting String Methods topic in portion 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.