Class: NilClass Private
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? ⇒ true private
nilis blank:. - #present? ⇒ false private
Instance Method Details
#blank? ⇒ true
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.
nil is blank:
nil.blank? # => true
11 | # File 'extend/blank/nil_class.rb', line 11 def blank? = true |
#present? ⇒ false
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.
14 | # File 'extend/blank/nil_class.rb', line 14 def present? = false # :nodoc: |
© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/NilClass.html