source: extensions/gsdl-video/trunk/installed/cmdline/lib/ruby/1.8/soap/rpc/rpc.rb@ 18425

Last change on this file since 18425 was 18425, checked in by davidb, 15 years ago

Video extension to Greenstone

File size: 550 bytes
Line 
1# SOAP4R - RPC utility.
2# Copyright (C) 2003 NAKAMURA, Hiroshi <[email protected]>.
3
4# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
5# redistribute it and/or modify it under the same terms of Ruby's license;
6# either the dual license version in 2003, or any later version.
7
8
9module SOAP
10
11
12module RPC
13 ServerException = Mapping::MappedException
14
15 def self.defined_methods(obj)
16 if obj.is_a?(Module)
17 obj.methods - Module.methods
18 else
19 obj.methods - Object.instance_methods(true)
20 end
21 end
22end
23
24
25end
Note: See TracBrowser for help on using the repository browser.