Examveda

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 __

Answer: Option C


Join The Discussion

Related Questions on Best Practices and Code Conventions in Ruby