Class: Time Private

Inherits:
Object show all
Defined in:
extend/blank.rb,
extend/time.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 Time is blank:

Time.now.blank? # => false

Returns:

  • (false)


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

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)


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

def present? = true

#rfc3339String

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.

Backwards compatibility for formulae that used this ActiveSupport extension

Returns:



9
10
11
12
# File 'extend/time.rb', line 9

def rfc3339
  odeprecated "Time#rfc3339", "Time#xmlschema"
  xmlschema
end