Class: XMLRPC::Service::PublicInstanceMethodsInterface
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 Interface
Class Method Summary
Instance Attribute Summary
BasicInterface - Inherited
Instance Method Summary
Constructor Details
.new(prefix) ⇒ PublicInstanceMethodsInterface
# File 'lib/xmlrpc/utils.rb', line 135
def initialize(prefix) super(prefix) end
Instance Method Details
#get_methods(obj, delim = ".")
[ GitHub ]# File '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