Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/fetchapp-api-ruby/base.rb
Overview
Extend the String class to have the handy .blank? method
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
3 4 5 |
# File 'lib/fetchapp-api-ruby/base.rb', line 3 def blank? self.empty? || self.nil? end |