Sha256: 310dab466ef44e67c625b7ac2258097c79438362a5eff5b5e651c8e4c62f98c4

Contents?: true

Size: 260 Bytes

Versions: 4

Compression:

Stored size: 260 Bytes

Contents

require_relative 'quote_stripper'

module LovelyRufus
  module Layers
    class EmailQuoteStripper < QuoteStripper
      QUOTES = /^>[> ]*/

      private

      def fixed_quote
        quote.size > 0 ? quote.delete(' ') + ' ' : ''
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lovely_rufus-1.0.0 lib/lovely_rufus/layers/email_quote_stripper.rb
lovely_rufus-0.3.2 lib/lovely_rufus/layers/email_quote_stripper.rb
lovely_rufus-0.3.1 lib/lovely_rufus/layers/email_quote_stripper.rb
lovely_rufus-0.3.0 lib/lovely_rufus/layers/email_quote_stripper.rb