method
verify_constant
rspec latest stable - Class:
Spec::Runner::HeckleRunner
verify_constant(name)public
No documentation available.
# File lib/spec/runner/heckle_runner.rb, line 49
def verify_constant(name)
begin
# This is defined in Heckle
name.to_class
rescue
raise "Heckling failed - \"#{name}\" is not a known class or module"
end
end