Include .rbi shims in yard docs

This commit is contained in:
Douglas Eichelberger 2024-03-17 20:53:58 -07:00
parent bb753a6c48
commit 9f63674125
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 }