1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* instruby.rb: refactoring.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2003-07-09 07:09:06 +00:00
parent 039fd6a8f9
commit 279385a002

View file

@ -179,7 +179,7 @@ if RUBY_PLATFORM =~ /mswin32|mingw|bccwin32/
end
Dir.glob("*.[1-9]") do |mdoc|
next unless File.read(mdoc)[0] == ?.
next unless open(mdoc){|fh| fh.read(1) == '.'}
section = mdoc[-1,1]