Class Methods
::
lib/xmlrpc/create.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/create.rb, line 62
def initialize
require "xmltreebuilder"
end
No documentation available
Instance Methods
lib/xmlrpc/create.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/create.rb, line 70
def document(*params)
XML::SimpleTree::Document.new(*params)
end
No documentation available
lib/xmlrpc/create.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/create.rb, line 66
def document_to_str(doc)
doc.to_s
end
No documentation available
lib/xmlrpc/create.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/create.rb, line 78
def element(name, attrs, *children)
XML::SimpleTree::Element.new(name, attrs, *children)
end
No documentation available
lib/xmlrpc/create.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/create.rb, line 74
def pi(name, *params)
XML::SimpleTree::ProcessingInstruction.new(name, *params)
end
No documentation available
lib/xmlrpc/create.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/create.rb, line 82
def text(txt)
XML::SimpleTree::Text.new(txt)
end
No documentation available