Class: String

Inherits:
Object show all
Defined in:
lib/webrat/core_extensions/blank.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


49
50
51
# File 'lib/webrat/core_extensions/blank.rb', line 49

def blank?
  self !~ /\S/
end