A Admin • 828.03K Points Coach Q. What is the purpose of the __dir__ method in Ruby? (A) Returns the current directory path relative to the file being executed (B) Returns the name of the currently executing file (C) Returns the list of files in the current directory (D) Returns the absolute path of the directory containing the currently executing file Correct Answer - Option(D) Views: 5 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.