mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1e46ba3439
commit
a7911f55a4
2 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,7 @@ end
|
|||
prepare_wc_input
|
||||
|
||||
def bm file
|
||||
prog = File.read(file).map{|e| e.rstrip}.join("\n")
|
||||
prog = File.read(file).lines.map{|e| e.rstrip}.join("\n")
|
||||
return if prog.empty?
|
||||
|
||||
/[a-z]+_(.+)\.rb/ =~ file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue