diff --git a/Library/Homebrew/extend/os/linux/install.rb b/Library/Homebrew/extend/os/linux/install.rb index 943ae7bea95c7..e4476a00b88b6 100644 --- a/Library/Homebrew/extend/os/linux/install.rb +++ b/Library/Homebrew/extend/os/linux/install.rb @@ -4,7 +4,7 @@ module Homebrew module Install # This is a list of known paths to the host dynamic linker on Linux if - # the host glibc is new enough. The symlink_ld_so method will fail if + # the host glibc is new enough. The symlink_ld_so method will fail if # the host linker cannot be found in this list. DYNAMIC_LINKERS = %w[ /lib64/ld-linux-x86-64.so.2 @@ -19,7 +19,7 @@ module Install private_constant :DYNAMIC_LINKERS # We link GCC runtime libraries that are not specifically used for Fortran, - # which are linked by the GCC formula. We only use the versioned shared libraries + # which are linked by the GCC formula. We only use the versioned shared libraries # as the other shared and static libraries are only used at build time where # GCC can find its own libraries. GCC_RUNTIME_LIBS = %w[ diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index 9cb6c22094dea..ad286b7cf57be 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -496,19 +496,19 @@ def self.convert_to_string_or_symbol(string) class FormulaLoader include Context - # The formula's name + # The formula's name. sig { returns(String) } attr_reader :name - # The formula's ruby file's path or filename + # The formula file's path. sig { returns(Pathname) } attr_reader :path - # The name used to install the formula + # The name used to install the formula. sig { returns(T.nilable(Pathname)) } attr_reader :alias_path - # The formula's tap (nil if it should be implicitly determined) + # The formula's tap (`nil` if it should be implicitly determined). sig { returns(T.nilable(Tap)) } attr_reader :tap