From 8d160b9350b35ece2bac1669d8aa513622ca2a5b Mon Sep 17 00:00:00 2001 From: toshimaru Date: Thu, 16 Nov 2023 09:18:42 +0900 Subject: [ruby/rdoc] chore: Remove unnecessary argument for `join` method https://github.com/ruby/rdoc/commit/4a1c74bc0a --- lib/rdoc/token_stream.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3