method
verify_constant
1.2.0 -
Show latest stable
- Class:
Spec::Runner::HeckleRunner
verify_constant(name)public
No documentation available.
# File lib/spec/runner/heckle_runner.rb, line 48
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