Class: Symbol
Instance Method Summary collapse
-
#blank? ⇒ Boolean
private
A Symbol is blank if it's empty:.
- #present? ⇒ Boolean private
Instance Method Details
#blank? ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
A Symbol is blank if it's empty:
:''.blank? # => true
:symbol.blank? # => false
128 |
# File 'extend/blank.rb', line 128 def blank? = empty? |
#present? ⇒ Boolean
This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.
131 |
# File 'extend/blank.rb', line 131 def present? = !empty? # :nodoc: |