Class: XMLRPC::XMLParser::AbstractStreamParser
- Inherits:
-
Object
- Object
- XMLRPC::XMLParser::AbstractStreamParser
- Defined in:
- lib/retort/xmlrpc_client.rb
Instance Method Summary collapse
-
#original_parseMethodResponse ⇒ Object
A patch for the response method as rtorrent xmlrpc call returns some integers as i8 instead of i4 expected this results in int8 fields showing up with no data as the parse method is not capable of handling such a tag.
- #parseMethodResponse(str) ⇒ Object
Instance Method Details
#original_parseMethodResponse ⇒ Object
A patch for the response method as rtorrent xmlrpc call returns some integers as i8 instead of i4 expected this results in int8 fields showing up with no data as the parse method is not capable of handling such a tag.
10 |
# File 'lib/retort/xmlrpc_client.rb', line 10 alias original_parseMethodResponse parseMethodResponse |
#parseMethodResponse(str) ⇒ Object
11 12 13 14 |
# File 'lib/retort/xmlrpc_client.rb', line 11 def parseMethodResponse(str) str.gsub!(/<((\/)*)i8>/, "<\\1i4>") original_parseMethodResponse(str) end |