1
0
Fork 0
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:
mneumann 2004-11-17 11:51:08 +00:00
parent 6c8ffdbf32
commit eabc1fc658
3 changed files with 12 additions and 5 deletions

View file

@ -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
# ---------------------------------------------------------------------------