Class: LinuxRequirement Private
- Inherits:
-
Requirement
- Object
- Requirement
- LinuxRequirement
- Defined in:
- requirements/linux_requirement.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.
A requirement on Linux.
Constant Summary
Constants included from Dependable
Dependable::KEEP_BUT_PRUNE_RECURSIVE_DEPS, Dependable::PRUNE, Dependable::RESERVED_TAGS, Dependable::SKIP
Instance Attribute Summary
Attributes inherited from Requirement
#cask, #download, #name, #tags
Instance Method Summary collapse
- #display_s ⇒ String private
- #message ⇒ String private
Methods inherited from Requirement
cask, download, #env, env, #env_proc, expand, fatal, #fatal?, inherited, #initialize, #mktemp, #modify_build_environment, #option_names, prune?, #satisfied?, #satisfied_result_parent, satisfy, #tap, #which
Methods included from BuildEnvironment::DSL
Methods included from Cachable
Methods included from Utils::Output::Mixin
#odebug, #odeprecated, #odie, #odisabled, #ofail, #oh1, #oh1_title, #ohai, #ohai_title, #onoe, #opoo, #opoo_outside_github_actions, #pretty_deprecated, #pretty_disabled, #pretty_duration, #pretty_installed, #pretty_outdated, #pretty_uninstalled
Methods included from Dependable
#build?, #implicit?, #no_linkage?, #option_names, #option_tags, #optional?, #options, #prune_from_option?, #prune_if_build_and_not_dependent?, #recommended?, #required?, #tags, #test?
Constructor Details
This class inherits a constructor from Requirement
Instance Method Details
#display_s ⇒ 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.
11 12 13 |
# File 'requirements/linux_requirement.rb', line 11 def display_s "Linux" end |
#message ⇒ 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.
16 17 18 |
# File 'requirements/linux_requirement.rb', line 16 def "Linux is required for this software." end |