Skip to content

Commit 72897d3

Browse files
committed
Revert "chore: Remove unnecessary argument for join method"
This reverts commit 4a1c74b. Since RDoc still supports ruby 2.6 which has not deprecated `$,`, the argument of `Array#join` is not unnecessary yet.
1 parent 4a1c74b commit 72897d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rdoc/token_stream.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def token_stream
112112
# Returns a string representation of the token stream
113113

114114
def tokens_to_s
115-
token_stream.compact.map { |token| token[:text] }.join
115+
token_stream.compact.map { |token| token[:text] }.join ''
116116
end
117117

118118
end

0 commit comments

Comments
 (0)