- Defined in:
EDLs sometimes come with r line breaks, and this is something that fails with Ruby standard line separator detection. We need something to help us with that. In this case we can just do a bulk replace because EDLs will be relatively small for even very long features.
Constant Summary collapse
- LOOSE_CR =
Instance Method Summary collapse
#initialize(with_io) ⇒ LinebreakMagician
A new instance of LinebreakMagician.
Returns a new instance of LinebreakMagician.
9 10 11 12
# File 'lib/edl/linebreak_magician.rb', line 9 def initialize(with_io) blob = with_io.read super(blob.gsub(, "\n")) end