Merge pull request #16906 from dduugg/yard-rbi

Include .rbi shims in yard docs
This commit is contained in:
Mike McQuaid 2024-03-18 12:50:58 +00:00 committed by GitHub
commit af8b105388
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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 }