On Fri, Apr 5, 2013 at 5:19 AM, sam.saffron (Sam Saffron)
<sam.saffron / gmail.com> wrote:

> Essentially include? should be short cutting if the string length is zeroand 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