Q. What is the purpose of the __dir__ method in Ruby?
β
Correct Answer: (D)
Returns the absolute path of the directory containing the currently executing file
You must be Logged in to update hint/solution