Class: Homebrew::Vulns::Match::Identity Private
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 Attribute Summary collapse
-
#distro_packages ⇒ Object
private
Returns the value of attribute distro_packages.
-
#git_repo ⇒ Object
private
Returns the value of attribute git_repo.
-
#git_tag ⇒ Object
private
Returns the value of attribute git_tag.
-
#primary_package ⇒ Object
private
Returns the value of attribute primary_package.
-
#resource_packages ⇒ Object
private
Returns the value of attribute resource_packages.
Instance Method Summary collapse
- #identifiable? ⇒ Boolean private
Instance Attribute Details
#distro_packages ⇒ Object
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 the value of attribute distro_packages
42 43 44 |
# File 'vulns/match.rb', line 42 def distro_packages @distro_packages end |
#git_repo ⇒ Object
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 the value of attribute git_repo
42 43 44 |
# File 'vulns/match.rb', line 42 def git_repo @git_repo end |
#git_tag ⇒ Object
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 the value of attribute git_tag
42 43 44 |
# File 'vulns/match.rb', line 42 def git_tag @git_tag end |
#primary_package ⇒ Object
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 the value of attribute primary_package
42 43 44 |
# File 'vulns/match.rb', line 42 def primary_package @primary_package end |
#resource_packages ⇒ Object
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 the value of attribute resource_packages
42 43 44 |
# File 'vulns/match.rb', line 42 def resource_packages @resource_packages end |
Instance Method Details
#identifiable? ⇒ Boolean
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.
47 48 49 |
# File 'vulns/match.rb', line 47 def identifiable? !git_repo.nil? || !primary_package.nil? || resource_packages.any? || distro_packages.any? end |