Sha256: 642949a28d5da2b3f993f6838797956ba45dba5e93bc6894331de2e1dae14486

Contents?: true

Size: 142 Bytes

Versions: 4

Compression:

Stored size: 142 Bytes

Contents

require 'wparser/parse'

class Break < Parse
  def self.parse text
    @result = text.gsub(/\r\n/, "\n").gsub(/\r/, "\n")
    super
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wparser-0.1.3 lib/wparser/util/break.rb
wparser-0.1.2 lib/wparser/util/break.rb
wparser-0.1.1 lib/wparser/util/break.rb
wparser-0.1.0 lib/wparser/util/break.rb