Skip to content

Commit

Permalink
Merge pull request #16906 from dduugg/yard-rbi
Browse files Browse the repository at this point in the history
Include .rbi shims in yard docs
  • Loading branch information
MikeMcQuaid authored Mar 18, 2024
2 parents 2bb5344 + 9f63674 commit af8b105
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/.yardopts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
--plugin sorbet
--load yard/ignore_directives.rb
--template-path yard/templates
--exclude sorbet/rbi/gems/
--exclude test/
--exclude vendor/
--exclude yard/
extend/os/**/*.rb
**/*.rb
**/*.rbi
-
*.md
1 change: 1 addition & 0 deletions Library/Homebrew/extend/hash/deep_transform_values.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class Hash
# This includes the values from the root hash and from all
# nested hashes and arrays.
#
# @example
# hash = { person: { name: 'Rob', age: '28' } }
#
# hash.deep_transform_values{ |value| value.to_s.upcase }
Expand Down

0 comments on commit af8b105

Please sign in to comment.