Sha256: 91d478372a6ad902051b91599a4c87882240ecd617b4fb53f878db9eee3941d0

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

require_relative 'quote_stripper'

module LovelyRufus
  module Layers
    # :reek:UnusedPrivateMethod
    class EmailQuoteStripper < QuoteStripper
      QUOTES = /^>[> ]*/

      private

      def fixed_quote
        quote.empty? ? '' : quote.delete(' ') + ' '
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lovely_rufus-1.0.1 lib/lovely_rufus/layers/email_quote_stripper.rb