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

Changeset 1474

Show
Ignore:
Timestamp:
04/15/05 11:42:52 (4 years ago)
Author:
nahi
Message:

cosmetic. closes #89.

Files:

Legend:

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

    r1471 r1474  
    2727 
    2828  def dump(type = nil) 
    29     result = '' 
     29    result = "require 'xsd/qname'\n" 
    3030    if type 
    3131      result = dump_classdef(type.name, type) 
     
    5959        dump_simpletypedef(ele.name, ele.local_simpletype) 
    6060      else 
    61         '' 
    62       end 
    63     }.join("\n") 
     61        nil 
     62      end 
     63    }.compact.join("\n") 
    6464  end 
    6565 
     
    8181      when :TYPE_MAP 
    8282        # mapped as a general Hash 
     83        nil 
    8384      else 
    8485        raise RuntimeError.new( 
    8586          "unknown kind of complexContent: #{type.compoundtype}") 
    8687      end 
    87     }.join("\n") 
     88    }.compact.join("\n") 
    8889  end 
    8990