~ubuntu-branches/ubuntu/trusty/ruby1.9/trusty

« back to all changes in this revision

Viewing changes to lib/soap/rpc/rpc.rb

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2008-01-24 11:42:29 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080124114229-jw2f87rdxlq6gp11
Tags: 1.9.0.0-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Robustify check for target_os, fixing build failure on lpia.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# SOAP4R - RPC utility.
2
 
# Copyright (C) 2003  NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
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
 
 
9
 
module SOAP
10
 
 
11
 
 
12
 
module 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
22
 
end
23
 
 
24
 
 
25
 
end