Sha256: 3bd924547b4d08017a5325277882dfb056debbad33bcf441990b4dac35e08324
Contents?: true
Size: 178 Bytes
Versions: 10
Compression:
Stored size: 178 Bytes
Contents
module ActiveMocker def self.class_exists?(class_name) klass = Module.const_get(class_name) return klass.is_a?(Class) rescue NameError return false end end
Version data entries
10 entries across 10 versions & 1 rubygems