From 1e8244959b4ff24f0666f79166c47910d0ea9dff Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 26 Apr 2024 03:33:26 +0000 Subject: [PATCH] docs: updates from Homebrew/brew --- docs/Checksum.html | 98 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 77 insertions(+), 21 deletions(-) diff --git a/docs/Checksum.html b/docs/Checksum.html index 522cc097a..f85f530aa 100644 --- a/docs/Checksum.html +++ b/docs/Checksum.html @@ -132,7 +132,7 @@

Instance Attribute Summary collaps
  • - #hexdigest ⇒ Object + #hexdigest ⇒ String @@ -172,7 +172,7 @@

  • - #==(other) ⇒ Object + #==(other) ⇒ Boolean @@ -238,7 +238,7 @@

  • - #initialize(hexdigest) ⇒ Checksum + #initialize(hexdigest) ⇒ void @@ -252,7 +252,7 @@

    private -

    A new instance of Checksum.

    +

  • @@ -312,7 +312,7 @@

    Constructor Details

    - #initialize(hexdigest) ⇒ Checksum + #initialize(hexdigest) ⇒ void @@ -325,13 +325,28 @@

    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 a new instance of Checksum.

    +

    +

    Parameters:

    +
      +
    • + + hexdigest + + + (String) + + + +
    • + +
    +
    @@ -339,15 +354,15 @@

     
     
    -12
    -13
    -14
    +14 +15 +16

    @@ -364,7 +379,7 @@

    Instance Attribute Details

    - #hexdigestObject (readonly) + #hexdigestString (readonly) @@ -384,6 +399,19 @@

    +

    Returns:

    +
      + +
    • + + + (String) + + + +
    • + +
    -
    # File 'checksum.rb', line 12
    +      
    # File 'checksum.rb', line 14
     
     def initialize(hexdigest)
    -  @hexdigest = hexdigest.downcase
    +  @hexdigest = T.let(hexdigest.downcase, String)
     end
    @@ -391,12 +419,12 @@

     
     
    -10
     11
    -12
    +12 +13

    -
    # File 'checksum.rb', line 10
    +      
    # File 'checksum.rb', line 11
     
     def hexdigest
       @hexdigest
    @@ -416,7 +444,7 @@ 

    Instance Method Details

    - #==(other) ⇒ Object + #==(other) ⇒ Boolean @@ -435,7 +463,35 @@

    +

    Parameters:

    + + +

    Returns:

    +
      + +
    • + + + (Boolean) + + + +
    • +
    @@ -443,19 +499,19 @@

     
     
    -18
    -19
    -20
     21
     22
     23
     24
     25
     26
    -27
    +27 +28 +29 +30

    -
    # File 'checksum.rb', line 18
    +      
    # File 'checksum.rb', line 21
     
     def ==(other)
       case other