summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authortoshimaru <me@toshimaru.net>2023-11-16 09:18:08 +0900
committergit <svn-admin@ruby-lang.org>2023-11-16 01:43:12 +0000
commit72242e69aa7ad1e8ec9c5d7533c3bfd22a16d239 (patch)
treeef321e72931fb7a4eb22c6f01af78b43150eac1e /test/ruby
parentd2e7a70ee6865a92992d4d793cd08a2805d2658a (diff)
[ruby/rdoc] fix: Fix NoMethodError for `tokens_to_s` method
Calling `tokens_to_s` gets an error if `token_stream` is nil: ``` undefined method `compact' for nil:NilClass (NoMethodError) ``` So, fall back to an empty array if `@token_stream` is nil. https://github.com/ruby/rdoc/commit/452e4a2600
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions