diff options
author | toshimaru <me@toshimaru.net> | 2023-11-16 09:18:42 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-16 01:43:12 +0000 |
commit | 8d160b9350b35ece2bac1669d8aa513622ca2a5b (patch) | |
tree | f82182494b62f2e46b54f7394fe5bf768f66f35c | |
parent | 72242e69aa7ad1e8ec9c5d7533c3bfd22a16d239 (diff) |
[ruby/rdoc] chore: Remove unnecessary argument for `join` method
https://github.com/ruby/rdoc/commit/4a1c74bc0a
-rw-r--r-- | lib/rdoc/token_stream.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/token_stream.rb b/lib/rdoc/token_stream.rb index 1ff4b0d09e..adeef5b660 100644 --- a/lib/rdoc/token_stream.rb +++ b/lib/rdoc/token_stream.rb @@ -112,7 +112,7 @@ module RDoc::TokenStream # Returns a string representation of the token stream def tokens_to_s - token_stream.compact.map { |token| token[:text] }.join '' + token_stream.compact.map { |token| token[:text] }.join end end |