Class
which wraps a XMLRPC::Service::Interface
definition, used by XMLRPC::BasicServer#add_handler
Class Methods
lib/xmlrpc/utils.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/utils.rb, line 113
def initialize(prefix, &p)
raise "No interface specified" if p.nil?
super(prefix)
instance_eval(&p)
end
No documentation available
Instance Methods
lib/xmlrpc/utils.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/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]
}
end
No documentation available
#
lib/xmlrpc/utils.rb
View on GitHub
# File tmp/rubies/ruby-2.3.8/lib/xmlrpc/utils.rb, line 128
def meth(*a)
add_method(*a)
end
No documentation available