XMLRPC::Marshallable (Module)

In: xmlrpc/utils.rb

This module enables a user-class to be marshalled by XML-RPC for Ruby into a Hash, with one additional key/value pair "class" => ClassName

Public Instance methods

[Source]

# File xmlrpc/utils.rb, line 20
    def __get_instance_variables
      instance_variables.collect {|var| [var[1..-1], eval(var)] }
    end

[Source]

# File xmlrpc/utils.rb, line 24
    def __set_instance_variable(key, value)
      eval("@#$1 = value") if key =~ /^([\w_][\w_0-9]*)$/
    end

[Validate]