Class: NilClass

Inherits:
Object show all
Defined in:
extend/blank.rb

Instance Method Summary collapse

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

Returns:

  • (true)


59
# File 'extend/blank.rb', line 59

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.

Returns:

  • (false)


62
# File 'extend/blank.rb', line 62

def present? = false # :nodoc: