diff options
author | Xavier Noria <fxn@hashref.com> | 2010-08-07 20:10:01 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-08-07 20:10:01 +0200 |
commit | 997021eb29869953936434dbaf6fb79fd34f5015 (patch) | |
tree | b8617f5861769caa25d46869e97b559e7ed52ce7 | |
parent | 0953c04cf57cfc281e6972df450ebe517cfe3a00 (diff) | |
download | rails-997021eb29869953936434dbaf6fb79fd34f5015.tar.gz rails-997021eb29869953936434dbaf6fb79fd34f5015.tar.bz2 rails-997021eb29869953936434dbaf6fb79fd34f5015.zip |
undoes one of the modifications to RDoc::Parser.binary?
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ def hijack_rdoc! if s[0, 2] == Marshal.dump('')[0, 2] then true - elsif file =~ /\.erb\.rb$/ then # ORIGINAL is file =~ /erb\.rb$/ + elsif file =~ /erb\.rb$/ then false elsif s.index("\x00") then # ORIGINAL is s.scan(/<%|%>/).length >= 4 || s.index("\x00") true |