class Asciidoctor::AbstractNode

def role

Public: A convenience method that returns the value of the role attribute
def role
  @attributes['role'] || @document.attributes['role']
end