Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

instance method

Gem::Specification#rdoc_options=

rdoc_options=(options)

Sets rdoc_options to value, ensuring it is a flat array of strings. Handles malformed gemspecs where rdoc_options may be a Hash or contain Hashes.