Vidyalelo
Ruby Programming · Q20

Best Practices and Code Conventions in Ruby

Programming · Ruby Programming · question 20

Q20

What is the purpose of a .gitignore file in a Ruby project?

A.
To specify the project's license
B.
To specify the dependencies for the project
C.
To specify files and directories that should be ignored by Git
Answer
D.
To specify the Ruby version for the project

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board