diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-11 01:03:22 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-11 01:03:22 +0000 |
commit | 80325bab52091283f79c6ac6905609a640094833 (patch) | |
tree | 90b283b3bc1577f4589c219e85657f16683f9c72 /lib/rdoc/token_stream.rb | |
parent | 02dade3b9e0134190c6b0db1361d140fbeeb44f3 (diff) | |
download | ruby-80325bab52091283f79c6ac6905609a640094833.tar.gz |
* lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(21b241a)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/token_stream.rb')
-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 851bc05bf5..b46b7da2f7 100644 --- a/lib/rdoc/token_stream.rb +++ b/lib/rdoc/token_stream.rb @@ -88,7 +88,7 @@ module RDoc::TokenStream # Returns a string representation of the token stream def tokens_to_s - token_stream.map { |token| token.text }.join '' + token_stream.compact.map { |token| token.text }.join '' end end |