class String

Monkey patching String, instead of importing ActiveSupport, bc its overkill for what we were using it for

Public Instance Methods

blank?() click to toggle source

Returns true for blank Strings

@example

"".blank? #=> true
"  ".blank? #=> true
".".blank? #=> false

@return [Boolean] @api public

# File lib/rtasklib/helpers.rb, line 20
def blank?
  self.strip.empty?
end