jruby

https://github.com/jruby/jruby

Ruby

JRuby, an implementation of Ruby on the JVM

Gem::RDoc#initialize

Creates a new documentation generator for +spec+.  RDoc and ri data
generation can be enabled or disabled through +generate_rdoc+ and
+generate_ri+ respectively.

Only +generate_ri+ is enabled by default.

Source | Google | Stack overflow

Edit

git clone [email protected]:jruby/jruby.git

cd jruby

open lib/ruby/stdlib/rubygems/rdoc.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gem--RDoc-initialize-for-pr


# Commit to git

git add lib/ruby/stdlib/rubygems/rdoc.rbgit commit -m "better docs for Gem::RDoc#initialize"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Gem--RDoc-initialize-for-pr

hub pull-request


# Celebrate!