Class: XMLRPC::XMLWriter::Simple

Inherits:
Object
  • Object
show all
Defined in:
lib/rack/rpc/endpoint/xmlrpc.rb

Overview

Monkey patch the xml writer for problems with double arrays Problem is filed as: http://jira.codehaus.org/browse/JRUBY-6670

Instance Method Summary (collapse)

Instance Method Details

- (void) element(name, attrs, *children)



8
9
10
# File 'lib/rack/rpc/endpoint/xmlrpc.rb', line 8

def element(name, attrs, *children)
  unsave_element(name, attrs, *children.flatten)
end

- (void) unsave_element



7
# File 'lib/rack/rpc/endpoint/xmlrpc.rb', line 7

alias_method :unsave_element, :element