From: Wes Gamble Date: 2006-08-01T04:18:28+09:00 Subject: Re: Does Ruby need a "line separator" class? In this particular case, could java.lang.System.getProperty("line.separator") be used to handle platform-specific reading/writing? That way, you get to piggyback on the multiplatform support built into Java. If the low-level I/O code is centralized, it seems like this would be the way to go. Are there performance implications for this approach? Seems like you could just grab all of the system specific newline properties from the System object upon the initialization of the JRuby interpreter and just refer to them later. Wes -- Posted via http://www.ruby-forum.com/.