πŸ“Š Ruby
Q. How can you get the absolute path of a file in Ruby?
  • (A) Using File.real_path method
  • (B) Using File.expand_path method
  • (C) Using File.path method
  • (D) Using File.real_path method
πŸ’¬ Discuss
βœ… Correct Answer: (B) Using File.expand_path method

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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