Class: Homebrew::Bundle::Installer::InstallableEntry Private
- Defined in:
- bundle/installer.rb
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
-
#cls ⇒ T.class_of(Homebrew::Bundle::PackageType)
readonly
private
Returns the value of prop
cls. -
#entry ⇒ Dsl::Entry
readonly
private
Returns the value of prop
entry. -
#install_name ⇒ String
private
Returns the value of prop
install_name. -
#verb ⇒ String
readonly
private
Returns the value of prop
verb.
Instance Method Summary collapse
- #full_name ⇒ String private
- #initialize(entry:, verb:, cls:, install_name:) ⇒ void constructor
- #name ⇒ String private
- #options ⇒ Homebrew::Bundle::EntryOptions private
- #tap_name ⇒ String? private
Constructor Details
Instance Attribute Details
#cls ⇒ T.class_of(Homebrew::Bundle::PackageType) (readonly)
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 prop cls.
|
|
# File '' const :cls, T.class_of(Homebrew::Bundle::PackageType) |
#entry ⇒ Dsl::Entry (readonly)
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 prop entry.
|
|
# File '' const :entry, Dsl::Entry |
#install_name ⇒ 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.
Returns the value of prop install_name.
|
|
# File '' prop :install_name, String |
#verb ⇒ String (readonly)
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 prop verb.
|
|
# File '' const :verb, String |
Instance Method Details
#full_name ⇒ 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.
29 30 31 |
# File 'bundle/installer.rb', line 29 def full_name T.cast(.fetch(:full_name, name), String) end |
#name ⇒ 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.
23 |
# File 'bundle/installer.rb', line 23 def name = entry.name |
#options ⇒ Homebrew::Bundle::EntryOptions
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.
26 |
# File 'bundle/installer.rb', line 26 def = entry. |
#tap_name ⇒ 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.
34 35 36 |
# File 'bundle/installer.rb', line 34 def tap_name ::Utils.tap_from_full_name(full_name) end |