Vidyalelo
Ruby Programming · Q23

Advanced Topics in Ruby

Programming · Ruby Programming · question 23

Q23

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
Answer
D.
The current line number in the source file

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board