class String
Monkeypatch string with some useful methods
Public Instance Methods
blank?()
click to toggle source
@return [Boolean] - true if self is empty or filled with spaces only
# File lib/core_extensions/string.rb, line 5 def blank? self.strip == '' end