rapid7/metasploit-framework — pull request #4494 by FireFart (2014-12-31 09:47:04+00:00)
Title: fixes #4490, class.to_s should not be used for checks

This fixes #4490. object.class.to_s was used in many places to check the class type.