Sha256: 6c707f8f0f7f37f0724bbae553bd293eaca6de077dfc2400e50238a0a0425647

Contents?: true

Size: 132 Bytes

Versions: 2

Compression:

Stored size: 132 Bytes

Contents

# frozen_string_literal: true

class String
  BLANK_RE = /\A[[:space:]]*\z/.freeze

  def blank?
    BLANK_RE.match(self)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
backup_repos-0.5.0 lib/core_ext/string.rb
backup_repos-0.4.0 lib/core_ext/string.rb