Class: XMLRPC::Service::Interface
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
BasicInterface
|
|
Instance Chain:
self,
BasicInterface
|
|
Inherits: |
XMLRPC::Service::BasicInterface
|
Defined in: | lib/xmlrpc/utils.rb |
Overview
Class which wraps a Interface
definition, used by BasicServer#add_handler
Class Method Summary
Instance Attribute Summary
BasicInterface - Inherited
Instance Method Summary
Constructor Details
.new(prefix, &p) ⇒ Interface
# File 'lib/xmlrpc/utils.rb', line 112
def initialize(prefix, &p) raise "No interface specified" if p.nil? super(prefix) instance_eval(&p) end
Instance Method Details
#get_methods(obj, delim = ".")
[ GitHub ]#meth(*a) (private)
[ GitHub ]# File 'lib/xmlrpc/utils.rb', line 127
def meth(*a) add_method(*a) end