Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Gem::RDoc#document

document(generator, options, destination)

Generates documentation using the named generator (“darkfish” or “ri”) and following the given options.

Documentation will be generated into destination