Use const_defined? instead of catching NameError
Use const_defined? instead of catching NameError

Change the class check when loading probes to use const_defined?. This method
avoids having to catch a NameError. The check also does not only check for
classes or modules but for any constant.

jgraichen/mnemosyne-ruby,jgraichen/mnemosyne-ruby