Q. Which Ruby convention is commonly used for naming private methods?

  • (A) Method names starting with private_
  • (B) Method names ending with _private
  • (C) Method names starting with _
  • (D) Method names starting with __
πŸ’¬ Discuss
βœ… Correct Answer: (C) Method names starting with _

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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