lib/covered/source.rb in covered-0.14.1 vs lib/covered/source.rb in covered-0.14.2
- old
+ new
@@ -67,10 +67,10 @@
end
attr :paths
def executable?(node)
- node.type == :send
+ node.type == :send || node.type == :yield
end
def ignore?(node)
node.nil? or node.type == :arg
end