Sha256: b90040e459ba5b580537623e8594019a8b7dc35f4e7f775dddb47d5a7f91e4cf

Contents?: true

Size: 207 Bytes

Versions: 1

Compression:

Stored size: 207 Bytes

Contents

module FixTSVConflict
  module Refinements
    module Blank
      BLANK_RE = /\A[[:space:]]*\z/

      refine String do
        def blank?
          BLANK_RE === self
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fix_tsv_conflict-0.3.0 lib/fix_tsv_conflict/refinements/blank.rb