Q. How do you create a new directory in Ruby?

  • (A) Using Dir.create method
  • (B) Using Dir.new method
  • (C) Using Dir.make method
  • (D) Using Dir.mkdir method
πŸ’¬ Discuss
βœ… Correct Answer: (D) Using Dir.mkdir method

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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