Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1459

Show
Ignore:
Timestamp:
03/12/05 12:07:39 (4 years ago)
Author:
nahi
Message:

cosmetic.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/soap/baseData.rb

    r1452 r1459  
    577577  def self.from_obj(hash_or_string, namespace = nil) 
    578578    o = SOAPElement.new(nil) 
    579     if hash_or_string.nil? 
     579    case hash_or_string 
     580    when nil 
    580581      o.text = nil 
    581     elsif hash_or_string.is_a?(Hash) 
     582    when Hash 
    582583      hash_or_string.each do |k, v| 
    583584        child = self.from_obj(v, namespace)