Skip to content

Commit

Permalink
* instruby.rb: refactoring.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
eban committed Jul 9, 2003
1 parent 039fd6a commit 279385a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def makedirs(dirs)
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]

Expand Down

0 comments on commit 279385a

Please sign in to comment.