Flowdock
method

trim_eol

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: XSD::CodeGen::GenSupport
trim_eol(str) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/xsd/codegen/gensupport.rb, line 131
  def trim_eol(str)
    str.collect { |line|
      line.sub(/\r?\n\z/, "") + "\n"
    }.join
  end
Register or log in to add new notes.