Q. What does the __FILE__ constant represent in Ruby?

  • (A) The name of the script being executed
  • (B) The name of the directory containing the current file
  • (C) The name of the current file being executed
  • (D) The current line number in the source file
πŸ’¬ Discuss
βœ… Correct Answer: (C) The name of the current file being executed

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
237
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate