提交 997021eb 编写于 作者: X Xavier Noria

undoes one of the modifications to RDoc::Parser.binary?

上级 0953c04c
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册