Add a warning about method subjects that could not be source-located!

This commit is contained in:
Markus Schirp 2013-07-03 00:32:48 +02:00
parent 6658261686
commit b66a883b75

View file

@ -22,7 +22,11 @@ module Mutant
return to_enum unless block_given?
unless skip?
yield subject if subject
if subject
yield subject
else
$stderr.puts "Cannot find definition of: #{identification} in #{source_location.join(':')}"
end
end
self