Skip to content

Commit

Permalink
rubydoc: fixes for output
Browse files Browse the repository at this point in the history
  • Loading branch information
EricFromCanada committed Nov 11, 2022
1 parent e1b2f68 commit 216a045
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Library/Homebrew/cache_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get(key)
db[key]
end

# Gets a value from the underlying database (if it already exists).
# Deletes a value from the underlying database (if it already exists).
def delete(key)
return unless created?

Expand Down
9 changes: 5 additions & 4 deletions Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ def with_logging(log_type)
# EOS
# end</pre>
#
# @deprecated Please use {#service} instead
# @deprecated Please use {Homebrew::Service} instead.
def plist
nil
end
Expand All @@ -1021,7 +1021,7 @@ def plist_path
launchd_service_path
end

# The generated systemd {.service} file path.
# The generated launchd {.service} file path.
sig { returns(Pathname) }
def launchd_service_path
opt_prefix/"#{plist_name}.plist"
Expand Down Expand Up @@ -3053,7 +3053,8 @@ def depends_on(dep)
end

# Indicates use of dependencies provided by macOS.
# On macOS this is a no-op (as we use the provided system libraries).
# On macOS this is a no-op (as we use the provided system libraries) unless
# `:since` specifies a minimum macOS version.
# On Linux this will act as {.depends_on}.
def uses_from_macos(dep, bounds = {})
specs.each { |spec| spec.uses_from_macos(dep, bounds) }
Expand Down Expand Up @@ -3132,7 +3133,7 @@ def patch(strip = :p1, src = nil, &block)
# Or perhaps you'd like to give the user a choice? Ooh fancy.
# <pre>plist_options startup: true, manual: "foo start"</pre>
#
# @deprecated Please use {#service.require_root} instead
# @deprecated Please use {Homebrew::Service.require_root} instead.
def plist_options(options)
# TODO: Deprecate
# odeprecated "plist_options", "service.require_root"
Expand Down

0 comments on commit 216a045

Please sign in to comment.