Class: Symbol Private
- Defined in:
- extend/blank/symbol.rb,
brew_irb_helpers/symbol.rb
This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.
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
12 |
# File 'extend/blank/symbol.rb', line 12 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.
15 |
# File 'extend/blank/symbol.rb', line 15 def present? = !empty? # :nodoc: |