Use name to determine if class is a singleton
Use name to determine if class is a singleton

Ruby <= 2.0 does not support `Module#singleton_class?`

stefanhorning/specinfra,ihassin/specinfra,serverspec/specinfra,verisign/specinfra,minimum2scp/specinfra,mizzy/specinfra