ruby

https://github.com/ruby/ruby

Ruby

The Ruby Programming Language

RDoc::Parser#initialize

Creates a new Parser storing +top_level+, +file_name+, +content+,
+options+ and +stats+ in instance variables.  In +@preprocess+ an
RDoc::Markup::PreProcess object is created which allows processing of
directives.

Source | Google | Stack overflow

Edit

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

cd ruby

open lib/rdoc/parser.rb

Contribute

# Make a new branch

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


# Commit to git

git add lib/rdoc/parser.rbgit commit -m "better docs for RDoc::Parser#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-RDoc--Parser-initialize-for-pr

hub pull-request


# Celebrate!