Sha256: bb3e2af9b716dbb51c1560d6251582ef46d2fc1364fe7a32d1bf693b6b3bc9b3
Contents?: true
Size: 326 Bytes
Versions: 310
Compression:
Stored size: 326 Bytes
Contents
# frozen_string_literal: true require 'active_support/core_ext/object/blank' require 'singleton' module EacRubyUtils # A blank string which returns +false+ for +blank?+ method. class BlankNotBlank < String include ::Singleton def initialize super('') end def blank? false end end end
Version data entries
310 entries across 310 versions & 4 rubygems