diff options
author | mneumann <mneumann@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-15 23:26:20 +0000 |
---|---|---|
committer | mneumann <mneumann@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-11-15 23:26:20 +0000 |
commit | 438b2d26a1f2beb95c754c24b170b5347d22e228 (patch) | |
tree | 96f95f56b0a5b3cfa508a3b669b068c0705a644c /lib/xmlrpc/utils.rb | |
parent | f232bdfbe0d14a7dc5a838601b1a3b4d880d52d5 (diff) | |
download | ruby-438b2d26a1f2beb95c754c24b170b5347d22e228.tar.gz ruby-438b2d26a1f2beb95c754c24b170b5347d22e228.tar.xz ruby-438b2d26a1f2beb95c754c24b170b5347d22e228.zip |
* imported and refactored original test cases
* added methods XMLRPC::XMLParser.each_installed_parser and
XMLRPC::XMLWriter.each_installed_writer to simply original test cases
* use Object#allocate instead of defining an empty #initialize
* module XMLRPC::Marshallable is now only used for tagging
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/xmlrpc/utils.rb')
-rw-r--r-- | lib/xmlrpc/utils.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/xmlrpc/utils.rb b/lib/xmlrpc/utils.rb index 14dd08b21..d542cfe4e 100644 --- a/lib/xmlrpc/utils.rb +++ b/lib/xmlrpc/utils.rb @@ -17,13 +17,6 @@ module XMLRPC # key/value pair "___class___" => ClassName # module Marshallable - def __get_instance_variables - instance_variables.collect {|var| [var[1..-1], eval(var)] } - end - - def __set_instance_variable(key, value) - eval("@#$1 = value") if key =~ /^([\w_][\w_0-9]*)$/ - end end |