Class: String
Overview
class FalseClass
Instance Method Summary collapse
-
#blank? ⇒ TrueClass, FalseClass
Strips out whitespace then tests if the string is empty.
Instance Method Details
#blank? ⇒ TrueClass, FalseClass
Strips out whitespace then tests if the string is empty.
79 80 81 |
# File 'lib/core_extensions.rb', line 79 def blank? strip.empty? end |