Ruby Documentation Flashcard

Ruby Documentation Flashcard

Assessment

Flashcard

Computers

University

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the purpose of documenting Ruby code?

Back

To guard against code amnesia

2.

FLASHCARD QUESTION

Front

What does RDoc stand for?

Back

Ruby Documentation

3.

FLASHCARD QUESTION

Front

What type of output does RDoc generate?

Back

Structured HTML documentation

4.

FLASHCARD QUESTION

Front

How do you run RDoc from the command line?

Back

rdoc person.rb

5.

FLASHCARD QUESTION

Front

What does the :nodoc: modifier do?

Back

It ignores the method in documentation.

6.

FLASHCARD QUESTION

Front

What is the default output directory for RDoc documentation?

Back

doc

7.

FLASHCARD QUESTION

Front

What is the purpose of the #++ and #-- comments in RDoc?

Back

To stop and start RDoc processing

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?