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
- #version ⇒ T.untyped readonly private
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.
42 |
# File 'livecheck/strategy/extract_plist.rb', line 42 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.
38 |
# File 'livecheck/strategy/extract_plist.rb', line 38 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.
45 46 47 48 49 |
# File 'livecheck/strategy/extract_plist.rb', line 45 def to_h { bundle_version: bundle_version&.to_h, }.compact end |