Sha256: 4556bc33b5a9f4d8784535fdb1d4feee74177fecaf9ff0b5930e65c1e9c3d4f9
Contents?: true
Size: 248 Bytes
Versions: 2
Compression:
Stored size: 248 Bytes
Contents
module Flipper module UI module Util # Private: 0x3000: fullwidth whitespace NON_WHITESPACE_REGEXP = %r![^\s#{[0x3000].pack("U")}]! def self.blank?(str) str.to_s !~ NON_WHITESPACE_REGEXP end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flipper-ui-0.2.0.beta2 | lib/flipper/ui/util.rb |
flipper-ui-0.2.0.beta1 | lib/flipper/ui/util.rb |