Classes: Converter
7 8 9 10 11 12 13 14 15
# File 'lib/hexp/kramdown.rb', line 7 def self.convert(document_or_element) Converter.new.convert( if document_or_element.is_a? ::Kramdown::Document document_or_element.root else document_or_element end ).to_hexp end