lib/mutest/matcher/method.rb
def skip?
          location = source_location
          if location.nil? || BLACKLIST.match(location.first)
            env.warn(SOURCE_LOCATION_WARNING_FORMAT % target_method)
          elsif matched_node_path.any?(&method(:n_block?))
            env.warn(CLOSURE_WARNING_FORMAT % target_method)
          end
        end
# Test if method should be skipped
#
# @return [Truthy]
Test if method should be skipped
Test if method should be skipped
def skip?
          location = source_location
          if location.nil? || BLACKLIST.match(location.first)
            env.warn(SOURCE_LOCATION_WARNING_FORMAT % target_method)
          elsif matched_node_path.any?(&method(:n_block?))
            env.warn(CLOSURE_WARNING_FORMAT % target_method)
          end
        end
def skip? location = source_location if location . nil? || BLACKLIST . match ( location . first ) env . warn ( SOURCE_LOCATION_WARNING_FORMAT % target_method ) elsif matched_node_path . any? ( & method ( :n_block? ) ) env . warn ( CLOSURE_WARNING_FORMAT % target_method ) end end
Test if method should be skipped
Test if method should be skipped
None
Truthy