In Files

  • xmlrpc-0.3.0/lib/xmlrpc/utils.rb

XMLRPC::Service::PublicInstanceMethodsInterface

Public Class Methods

new(prefix) click to toggle source
 
               # File xmlrpc-0.3.0/lib/xmlrpc/utils.rb, line 135
def initialize(prefix)
  super(prefix)
end
            

Public Instance Methods

get_methods(obj, delim=".") click to toggle source
 
               # File xmlrpc-0.3.0/lib/xmlrpc/utils.rb, line 139
def get_methods(obj, delim=".")
  prefix = @prefix + delim
  obj.class.public_instance_methods(false).collect { |name|
    [prefix + name.to_s, obj.method(name).to_proc, nil, nil]
  }
end