rapid7/metasploit-framework — pull request #3566 by darkbushido (2014-07-23 21:29:22+00:00)
Title: changing Credential == operator

it should no longer raise no method errors when comparing a credential to
an object that doesnt respond to public, private, or realm

# Verification steps
- [ ] Launch `msfconsole`
- [ ] `irb`
- [ ] `cred = Metasploit::Framework::Credential.new`
- [ ] `cred == cred` should return true
- [ ] `cred == 'string'` should return false