Spec-Zone.ru › Homebrew

Class: Time Private

Inherits:
Object
  • Object
  • Time
show all
Defined in:
extend/blank/time.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? ⇒ false private

    No Time is blank:.

  • #present? ⇒ true private

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 Time is blank:

Time.now.blank? # => false

Returns:

  • (false)


11
# File 'extend/blank/time.rb', line 11

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)


14
# File 'extend/blank/time.rb', line 14

def present? = true

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Time.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API