Class: OsxfuseRequirement Private
- Inherits:
-
Requirement
- Object
- Requirement
- OsxfuseRequirement
- Extended by:
- T::Sig
- Defined in:
- Library/Homebrew/requirements/osxfuse_requirement.rb,
Library/Homebrew/extend/os/mac/requirements/osxfuse_requirement.rb,
Library/Homebrew/extend/os/linux/requirements/osxfuse_requirement.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
A requirement on FUSE for macOS.
Constant Summary
Constants included from Dependable
Instance Attribute Summary
Attributes inherited from Requirement
#cask, #download, #name, #tags
Class Method Summary collapse
Instance Method Summary collapse
- #display_s ⇒ Object private
- #message ⇒ Object private
Methods inherited from Requirement
#==, env, #env, #env_proc, expand, #fatal?, #hash, #initialize, #inspect, #mktemp, #modify_build_environment, #option_names, prune, prune?, #satisfied?, #satisfied_result_parent, satisfy
Methods included from BuildEnvironment::DSL
Methods included from Dependable
#build?, #option_tags, #optional?, #options, #prune_from_option?, #prune_if_build_and_not_dependent?, #recommended?, #required?, #test?
Constructor Details
This class inherits a constructor from Requirement
Class Method Details
.binary_osxfuse_installed? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 14 |
# File 'Library/Homebrew/extend/os/mac/requirements/osxfuse_requirement.rb', line 11 def self.binary_osxfuse_installed? File.exist?("/usr/local/include/osxfuse/fuse.h") && !File.symlink?("/usr/local/include/osxfuse") end |
Instance Method Details
#display_s ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
15 16 17 |
# File 'Library/Homebrew/requirements/osxfuse_requirement.rb', line 15 def display_s "FUSE" end |
#message ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 26 27 |
# File 'Library/Homebrew/extend/os/mac/requirements/osxfuse_requirement.rb', line 25 def "FUSE for macOS is required for this software. #{super}" end |