From a0a366e22db045e0e6d3653a682545244608ee6f Mon Sep 17 00:00:00 2001 From: Sam Ford <1584702+samford@users.noreply.github.com> Date: Thu, 23 Feb 2023 13:41:56 -0500 Subject: [PATCH] PageMatch: Tweak documentation comments --- Library/Homebrew/livecheck/strategy/page_match.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/livecheck/strategy/page_match.rb b/Library/Homebrew/livecheck/strategy/page_match.rb index d18a924cae..9b16c8b8c0 100644 --- a/Library/Homebrew/livecheck/strategy/page_match.rb +++ b/Library/Homebrew/livecheck/strategy/page_match.rb @@ -11,8 +11,8 @@ module Homebrew # strategies apply to a given URL. Though {PageMatch} will technically # match any HTTP URL, the strategy also requires a regex to function. # - # The {find_versions} method is also used within other strategies, - # to handle the process of identifying version text in content. + # The {find_versions} method can be used within other strategies, to + # handle the process of identifying version text in content. # # @api public class PageMatch @@ -78,7 +78,7 @@ module Homebrew # @param url [String] the URL of the content to check # @param regex [Regexp, nil] a regex used for matching versions # @param provided_content [String, nil] page content to use in place of - # fetching via Strategy#page_content + # fetching via `Strategy#page_content` # @param homebrew_curl [Boolean] whether to use brewed curl with the URL # @return [Hash] sig {