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
32 33 34 |
# File 'livecheck/strategy/extract_plist.rb', line 32 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.
47 |
# File 'livecheck/strategy/extract_plist.rb', line 47 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.
41 |
# File 'livecheck/strategy/extract_plist.rb', line 41 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.
50 51 52 53 54 |
# File 'livecheck/strategy/extract_plist.rb', line 50 def to_h { bundle_version: bundle_version&.to_h, }.compact end |