Class: Time Private
- Includes:
- Utils::Output::Mixin
- 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
-
#blank? ⇒ false
private
No Time is blank:.
- #present? ⇒ true private
-
#rfc3339 ⇒ String
private
Backwards compatibility for formulae that used this ActiveSupport extension.
Methods included from Utils::Output::Mixin
#odebug, #odeprecated, #odie, #odisabled, #ofail, #oh1, #oh1_title, #ohai, #ohai_title, #onoe, #opoo, #opoo_outside_github_actions, #pretty_duration, #pretty_installed, #pretty_outdated, #pretty_uninstalled
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
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.
198 |
# File 'extend/blank.rb', line 198 def present? = true |
#rfc3339 ⇒ String
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
12 13 14 15 |
# File 'extend/time.rb', line 12 def rfc3339 odisabled "Time#rfc3339", "Time#xmlschema" xmlschema end |