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
lib/rubygems/specification.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/specification.rb, line 665
def rdoc_options
@rdoc_options ||= []
end
Specifies the rdoc options to be used when generating API documentation.
Usage:
Example
spec.rdoc_options << '--title' << 'Rake -- Ruby Make' << '--main' << 'README' << '--line-numbers'
See also
#rdoc_options=
#platform=
#platform
#removed_method_calls
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0