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

Changeset 1539

Show
Ignore:
Timestamp:
05/10/05 13:02:51 (4 years ago)
Author:
nahi
Message:

for ruby-1.6.8 compliance.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/xsd/codegen/gensupport.rb

    r1520 r1539  
    130130  def trim_eol(str) 
    131131    str.collect { |line| 
    132       line.sub(/\r?\n$/, "") + "\n" 
     132      line.sub(/\r?\n\z/, "") + "\n" 
    133133    }.join 
    134134  end