Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/core_ext/string.rb
Instance Method Summary collapse
Instance Method Details
#blank? ⇒ Boolean
6 7 8 |
# File 'lib/core_ext/string.rb', line 6 def blank? self.empty? || self.strip.empty? end |
#tmp ⇒ Object
2 3 4 |
# File 'lib/core_ext/string.rb', line 2 def tmp self + ".tmp" end |