mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/xmlrpc/parser.rb, test/xmlrpc/test_features.rb: fixed "assinging to constants" warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6c8ffdbf32
commit
eabc1fc658
3 changed files with 12 additions and 5 deletions
|
@ -578,12 +578,9 @@ module XMLRPC
|
|||
class XMLStreamParser < AbstractStreamParser
|
||||
def initialize
|
||||
require "xmlparser"
|
||||
eval %{
|
||||
class XMLRPCParser < ::XMLParser
|
||||
include StreamParserMixin
|
||||
end
|
||||
@parser_class = Class.new(::XMLParser) {
|
||||
include StreamParserMixin
|
||||
}
|
||||
@parser_class = XMLRPCParser
|
||||
end
|
||||
end # class XMLStreamParser
|
||||
# ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue