summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoshimaru <me@toshimaru.net>2023-11-16 09:18:42 +0900
committergit <svn-admin@ruby-lang.org>2023-11-16 01:43:12 +0000
commit8d160b9350b35ece2bac1669d8aa513622ca2a5b (patch)
treef82182494b62f2e46b54f7394fe5bf768f66f35c
parent72242e69aa7ad1e8ec9c5d7533c3bfd22a16d239 (diff)
[ruby/rdoc] chore: Remove unnecessary argument for `join` method
https://github.com/ruby/rdoc/commit/4a1c74bc0a
-rw-r--r--lib/rdoc/token_stream.rb2
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