123456789_123456789_123456789_123456789_123456789_

Class: XMLRPC::Service::PublicInstanceMethodsInterface

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: XMLRPC::Service::BasicInterface
Defined in: lib/xmlrpc/utils.rb

Overview

class Interface

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(prefix) ⇒ PublicInstanceMethodsInterface

[ GitHub ]

  
# 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