πŸ“Š Ruby
Q. Which of the following is a valid way to start a Ruby program?
  • (A) #!/usr/bin/ruby
  • (B) #!/bin/ruby
  • (C) #!/ruby/bin
  • (D) #!/usr/bin/python
πŸ’¬ Discuss
βœ… Correct Answer: (A) #!/usr/bin/ruby

Explanation: Shebang line #!/usr/bin/ruby is used to run Ruby scripts.

Explanation by: Rati Dubey
Shebang line #!/usr/bin/ruby is used to run Ruby scripts.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
50
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
80%
Success Rate