metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

Net::DNS::RR::Classes#initialize

Creates a new object representing an RR class. Performs some
checks on the argument validity too. Il +cls+ is +nil+, the
default value is +ANY+ or the one set with Classes.default=

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open lib/net/dns/rr/classes.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Net--DNS--RR--Classes-initialize-for-pr


# Commit to git

git add lib/net/dns/rr/classes.rbgit commit -m "better docs for Net::DNS::RR::Classes#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-Net--DNS--RR--Classes-initialize-for-pr

hub pull-request


# Celebrate!