Sha256: 7eb51bd3993c97318c7dc27b8976e2c584fc0d4f4e32e77c0d64333876536935
Contents?: true
Size: 333 Bytes
Versions: 107
Compression:
Stored size: 333 Bytes
Contents
module Vagrant module Util module LineEndingHelpers # Converts line endings to unix-style line endings in the # given string. # # @param [String] string Original string # @return [String] The fixed string def dos_to_unix(string) string.gsub("\r\n", "\n") end end end end
Version data entries
107 entries across 100 versions & 18 rubygems