Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec/core/formatters/org_formatter.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/rspec/core/formatters/org_formatter.rb', line 5

def blank?
  !self.match(/\A\s+\z/).nil?
end