In Files

  • xmlrpc/utils.rb


Class which wraps a XMLRPC::Service::Interface definition, used by XMLRPC::BasicServer#add_handler

Public Class Methods

new(prefix, &p) click to toggle source
               # File xmlrpc/utils.rb, line 113
def initialize(prefix, &p)
  raise "No interface specified" if p.nil?

Public Instance Methods

get_methods(obj, delim=".") click to toggle source
               # File xmlrpc/utils.rb, line 119
def get_methods(obj, delim=".")
  prefix = @prefix + delim
  @methods.collect { |name, meth, sig, help|
    [prefix + name.to_s, obj.method(meth).to_proc, sig, help]

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit