Q. Which of the following is a valid way to start a Ruby program?
β
Correct Answer: (A)
#!/usr/bin/ruby
Explanation: Shebang line #!/usr/bin/ruby is used to run Ruby scripts.