mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Allow for colons in DOS file names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e5c787463e
commit
2c32f0f918
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Jan 6 07:58:28 2005 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/usage.rb (RDoc::RDoc.usage_no_exit): Allow for colons
|
||||
in path names on DOS machines. (thanks to Johan Nilsson)
|
||||
|
||||
Thu Jan 6 00:02:35 2005 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
||||
|
||||
* test/rinda/test_rinda.rb: use MockClock.sleep instead of Kernel.sleep
|
||||
|
|
|
@ -96,7 +96,7 @@ module RDoc
|
|||
|
||||
# Display usage
|
||||
def RDoc.usage_no_exit(*args)
|
||||
main_program_file, = caller[-1].split(/:/, 2)
|
||||
main_program_file, = caller[-1].split(/:\d+/, 2)
|
||||
comment = File.open(main_program_file) do |file|
|
||||
find_comment(file)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue