In Files

  • xmlrpc/client.rb

Parent

XMLRPC::Client::Proxy

Public Class Methods

new(server, prefix, args=[], meth=:call, delim=".") click to toggle source
 
               # File xmlrpc/client.rb, line 607
def initialize(server, prefix, args=[], meth=:call, delim=".")
  @server = server
  @prefix = prefix ? prefix + delim : ""
  @args   = args 
  @meth   = meth
end
            

Public Instance Methods

method_missing(mid, *args) click to toggle source
 
               # File xmlrpc/client.rb, line 614
def method_missing(mid, *args)
  pre = @prefix + mid.to_s
  arg = @args + args
  @server.send(@meth, pre, *arg)
end