Class: Checksum Private
- Extended by:
- Forwardable
- Defined in:
- checksum.rb,
sorbet/rbi/parlour.rbi
Overview
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.
A formula's checksum.
Instance Attribute Summary collapse
- #hexdigest ⇒ String readonly private
Instance Method Summary collapse
- #[](*args, **options, &block) ⇒ T.untyped private
- #empty?(*args, **options, &block) ⇒ Boolean private
- #initialize(hexdigest) ⇒ void constructor private
- #length(*args, **options, &block) ⇒ T.untyped private
Constructor Details
#initialize(hexdigest) ⇒ void
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.
12 13 14 |
# File 'checksum.rb', line 12 def initialize(hexdigest) @hexdigest = T.let(hexdigest.downcase, String) end |
Instance Attribute Details
#hexdigest ⇒ 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.
9 10 11 |
# File 'checksum.rb', line 9 def hexdigest @hexdigest end |
Instance Method Details
#[](*args, **options, &block) ⇒ T.untyped
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 'sorbet/rbi/parlour.rbi', line 26 def [](*args, **, &block); end |
#empty?(*args, **options, &block) ⇒ 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.
17 |
# File 'sorbet/rbi/parlour.rbi', line 17 def empty?(*args, **, &block); end |
#length(*args, **options, &block) ⇒ T.untyped
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 'sorbet/rbi/parlour.rbi', line 23 def length(*args, **, &block); end |