Module: Base
- Defined in:
- lib/zkt_client/monky_patcher/base.rb
Instance Method Summary collapse
-
#blank? ⇒ Boolean
Checks if the object is blank (empty).
-
#present? ⇒ Boolean
Checks if the object is present (not blank).
Instance Method Details
#blank? ⇒ Boolean
Checks if the object is blank (empty)
7 8 9 |
# File 'lib/zkt_client/monky_patcher/base.rb', line 7 def blank? empty? end |
#present? ⇒ Boolean
Checks if the object is present (not blank)
14 15 16 |
# File 'lib/zkt_client/monky_patcher/base.rb', line 14 def present? !blank? end |