Sha256: 606b921778da5e2f37b861fbde0103de562dfc5a0a8cdd2265050af106164cf4

Contents?: true

Size: 132 Bytes

Versions: 3

Compression:

Stored size: 132 Bytes

Contents

# frozen_string_literal: true

module EmptyLineMatcher
  module_function

  def match?(line)
    line =~ /^[[:blank:]]*$/
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
runger_email_reply_trimmer-0.3.0 lib/runger_email_reply_trimmer/empty_line_matcher.rb
runger_email_reply_trimmer-0.2.2 lib/runger_email_reply_trimmer/empty_line_matcher.rb
runger_email_reply_trimmer-0.2.1 lib/runger_email_reply_trimmer/empty_line_matcher.rb