Class: String
- Inherits:
-
Object
- Object
- String
- Includes:
- Base
- Defined in:
- lib/zkt_client/monky_patcher/string.rb
Overview
Extends the String class with additional methods
Instance Method Summary collapse
-
#blank? ⇒ Boolean
Checks if the string is blank (empty or contains only whitespace).
Methods included from Base
Instance Method Details
#blank? ⇒ Boolean
Checks if the string is blank (empty or contains only whitespace)
12 13 14 |
# File 'lib/zkt_client/monky_patcher/string.rb', line 12 def blank? strip.empty? end |