class Asciidoctor::AbstractNode
def option?(name)
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