class Asciidoctor::AbstractNode

def enabled_options

Returns a [Set] of option names

Public: Retrieve the Set of option names that are enabled on this node
def enabled_options
  ::Set.new.tap {|accum| @attributes.each_key {|k| accum << (k.slice 0, k.length - 7) if k.to_s.end_with? '-option' } }
end