Whitespace

This commit is contained in:
Markus Schirp 2014-06-29 00:27:15 +00:00
parent ee940f1c21
commit 774c7aa50e

View file

@ -47,8 +47,9 @@ module Mutant
# @api private
#
def match?(node)
location = node.location || return
expression = location.expression || return
location = node.location || return
expression = location.expression || return
expression.line.equal?(source_line) &&
node.type.equal?(:def) &&
node.children[NAME_INDEX].equal?(method_name)