method

trim_eol

v1_8_6_287 - Show latest stable - Class: XSD::CodeGen::GenSupport
trim_eol(str)
private

No documentation available.

# File lib/xsd/codegen/gensupport.rb, line 131
  def trim_eol(str)
    str.collect { |line|
      line.sub(/\r?\n\z/, "") + "\n"
    }.join
  end