class RuboCop::Cop::Minitest::SkipEnsure
def find_skip(node)
def find_skip(node) return unless (body = node.node_parts.first) body.descendants.detect { |n| n.send_type? && n.receiver.nil? && n.method?(:skip) } end
def find_skip(node) return unless (body = node.node_parts.first) body.descendants.detect { |n| n.send_type? && n.receiver.nil? && n.method?(:skip) } end