metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
ExtendHash#-
Performs a sort of group difference
operation on hashes or arrays
a = {:a=>1,:b=>2,:c=>3}
b = {:a=>1,:b=>2}
c = [:a,:c]
a-b #=> {:c=>3}
a-c #=> {:b=>2}Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/net/dns/rr.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ExtendHash---for-pr
# Commit to gitgit add lib/net/dns/rr.rbgit commit -m "better docs for ExtendHash#-"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ExtendHash---for-pr
hub pull-request
# Celebrate!