Home / CSE MCQs / Ruby Programming MCQs :: Discussion

Discussion :: Ruby Programming MCQs

  1. Which sequence can be used to substitute the value of any ruby expression in a string?
  2. A.
    #(expr)
    B.
    #{expr}
    C.
    #expr
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    #{expr} is valid.


Be The First To Comment