From: Nikolai Weibull Date: 2013-04-05T17:38:22+09:00 Subject: [ruby-core:54018] Re: [ruby-trunk - Feature #8206] Should Ruby core implement String#blank? On Fri, Apr 5, 2013 at 5:19 AM, sam.saffron (Sam Saffron) wrote: > Essentially include? should be short cutting if the string length is zero and returning false. The empty string is included by quite a few regular expressions, so that can���t be done. Why not simply define String#blank? as class String def blank? empty? or not include?(/[^[:space:]]/) end end