Class: Homebrew::Livecheck::Strategy::ExtractPlist::Item Private
- Extended by:
- Forwardable
- Defined in:
- livecheck/strategy/extract_plist.rb,
sorbet/rbi/dsl/homebrew/livecheck/strategy/extract_plist/item.rbi
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
-
#bundle_version ⇒ Object
private
Returns the value of attribute bundle_version.
-
#short_version ⇒ T.untyped
readonly
private
The short version string from the bundle.
-
#version ⇒ T.untyped
readonly
private
The full version string from the bundle.
Instance Method Summary collapse
Instance Attribute Details
#bundle_version ⇒ 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 bundle_version
30 31 32 |
# File 'livecheck/strategy/extract_plist.rb', line 30 def bundle_version @bundle_version end |
#short_version ⇒ T.untyped (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.
The short version string from the bundle.
45 |
# File 'livecheck/strategy/extract_plist.rb', line 45 delegate short_version: :bundle_version |
#version ⇒ T.untyped (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.
The full version string from the bundle.
39 |
# File 'livecheck/strategy/extract_plist.rb', line 39 delegate version: :bundle_version |
Instance Method Details
#to_h ⇒ Hash{Symbol => Hash{Symbol => 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.
48 49 50 51 52 |
# File 'livecheck/strategy/extract_plist.rb', line 48 def to_h { bundle_version: bundle_version&.to_h, }.compact end |