Saved Bookmarks
| 1. |
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 mentionedI 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 |
|
Answer» RIGHT answer is (a) Same as back tick COMMAND output `LS` To explain: It is same as back tick command output `ls`. |
|