πŸ“Š Ruby
Q. Which method is used to retrieve file attributes in Ruby?
  • (A) File.get_stats("filename")
  • (B) File.get_attributes("filename")
  • (C) File.attributes("filename")
  • (D) File.stat("filename")
πŸ’¬ Discuss
βœ… Correct Answer: (D) File.stat("filename")

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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