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

Changeset 1542

Show
Ignore:
Timestamp:
05/11/05 12:40:47 (4 years ago)
Author:
nahi
Message:

SOAP::HTTPConfigLoader#ssl_config_int should accepts an Integer. Integer configuration parameter may be set by runtime. closes #104.

Files:

Legend:

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

    r1496 r1542  
    9393 
    9494  def ssl_config_int(value) 
    95     if value.nil? or value.empty? 
     95    if value.nil? or value.to_s.empty? 
    9696      nil 
    9797    else 
     
    9999        Integer(value) 
    100100      rescue ArgumentError 
    101         ::SOAP::Property::Util.const_from_name(value
     101        ::SOAP::Property::Util.const_from_name(value.to_s
    102102      end 
    103103    end