module CbetaShare
Public Instance Methods
to_html(e)
click to toggle source
# File lib/cbeta/cbeta_share.rb, line 3 def to_html(e) e.to_xml( encoding: 'UTF-8', save_with: Nokogiri::XML::Node::SaveOptions::AS_XML | Nokogiri::XML::Node::SaveOptions::NO_EMPTY_TAGS ) end