Methods
Class Public methods
new()
Link
Source: show
# File lib/xmlrpc/create.rb, line 61 def initialize require "xmltreebuilder" end
Instance Public methods
document(*params)
Link
Source: show
# File lib/xmlrpc/create.rb, line 69 def document(*params) XML::SimpleTree::Document.new(*params) end
document_to_str(doc)
Link
Source: show
# File lib/xmlrpc/create.rb, line 65 def document_to_str(doc) doc.to_s end
element(name, attrs, *children)
Link
Source: show
# File lib/xmlrpc/create.rb, line 77 def element(name, attrs, *children) XML::SimpleTree::Element.new(name, attrs, *children) end