xhtml() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rss/atom.rb, line 124
      def xhtml
        return @xhtml if @xhtml.nil?
        if @xhtml.is_a?(XML::Element) and
            [@xhtml.name, @xhtml.uri] == ["div", XHTML_URI]
          return @xhtml

        children = @xhtml
        children = [children] unless children.is_a?(Array)
        XML::Element.new("div", nil, XHTML_URI,
                         {"xmlns" => XHTML_URI}, children)
Register or log in to add new notes.