Methods
- D
- E
- P
- T
Instance Public methods
document(*params)
Link
Source: show
# File lib/xmlrpc/create.rb, line 31 def document(*params) params.join("") end
document_to_str(doc)
Link
Source: show
# File lib/xmlrpc/create.rb, line 27 def document_to_str(doc) doc end
element(name, attrs, *children)
Link
Source: show
# File lib/xmlrpc/create.rb, line 39 def element(name, attrs, *children) raise "attributes not yet implemented" unless attrs.nil? if children.empty? "<#{name}/>" else "<#{name}>" + children.join("") + "</#{name}>" end end