Skip to content

Commit

Permalink
chore: Remove unnecessary argument for join method
Browse files Browse the repository at this point in the history
  • Loading branch information
toshimaru committed Nov 16, 2023
1 parent d8a0a48 commit ca3f1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdoc/token_stream.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def token_stream
# 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

0 comments on commit ca3f1e3

Please sign in to comment.