class Asciidoctor::AbstractNode

def option?(name)

return a Boolean indicating whether the option has been specified

name - the String or Symbol name of the option

%name%-option attribute is defined on the current node.
Check if the option is enabled. This method simply checks to see if the

enabled on the current node.
Public: A convenience method to check if the specified option attribute is
def option?(name)
  @attributes.has_key? %(#{name}-option)
end