In Files

  • xmlrpc/utils.rb

XMLRPC::Service::PublicInstanceMethodsInterface

Public Class Methods

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

Public Instance Methods

get_methods(obj, delim=".") click to toggle source
 
               # File xmlrpc/utils.rb, line 132
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