method

xml

v1_9_3_125 - Show latest stable - Class: RSS::Atom::Feed::Entry::Content
xml()
public

No documentation available.

# File lib/rss/atom.rb, line 476
          def xml
            return @xml unless inline_xhtml?
            return @xml if @xml.nil?
            if @xml.is_a?(XML::Element) and
                [@xml.name, @xml.uri] == ["div", XHTML_URI]
              return @xml
            end

            children = @xml
            children = [children] unless children.is_a?(Array)
            XML::Element.new("div", nil, XHTML_URI,
                             {"xmlns" => XHTML_URI}, children)
          end