Examveda

What is the recommended way to document Ruby methods and classes?

A. Using comments with specific formatting standards

B. Using external documentation files

C. Using documentation comments with tools like YARD or RDoc

D. Using inline comments

Answer: Option C


Join The Discussion

Related Questions on Best Practices and Code Conventions in Ruby