global

def block_wrapper_node

def block_wrapper_node
  case candidate_block_wrapper_nodes.size
  when 1
    candidate_block_wrapper_nodes.first
  when 0
    raise TargetNotFoundError
  else
    raise AmbiguousTargetError
  end
end