Class: Numeric Private

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

Overview

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.

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?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.

No number is blank:

1.blank? # => false
0.blank? # => false

Returns:

  • (false)


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

def blank? = false

#present?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.

Returns:

  • (true)


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

def present? = true