class Asciidoctor::AbstractNode

def reftext?

Public: A convenience method that checks if the reftext attribute is specified
def reftext?
  @attributes.has_key?('reftext') || @document.attributes.has_key?('reftext')
end