зеркало из https://github.com/github/ruby.git
* lib/rdoc/rdoc.rb (RDoc#{initialize,setup_output_dir}):
initialize @last_created and use it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1007748627
Коммит
640c32ef77
|
@ -1,3 +1,8 @@
|
|||
Wed Apr 7 03:28:27 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/rdoc/rdoc.rb (RDoc#{initialize,setup_output_dir}):
|
||||
initialize @last_created and use it.
|
||||
|
||||
Wed Apr 7 02:05:41 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* template/fake.rb.in: not define $extout to make target in cwd.
|
||||
|
|
|
@ -78,7 +78,7 @@ class RDoc::RDoc
|
|||
@current = nil
|
||||
@exclude = nil
|
||||
@generator = nil
|
||||
@last_created = nil
|
||||
@last_created = {}
|
||||
@old_siginfo = nil
|
||||
@options = nil
|
||||
@stats = nil
|
||||
|
@ -135,7 +135,7 @@ class RDoc::RDoc
|
|||
def setup_output_dir(op_dir, force)
|
||||
flag_file = output_flag_file op_dir
|
||||
|
||||
last = {}
|
||||
last = @last_created
|
||||
|
||||
if File.exist? op_dir then
|
||||
unless File.directory? op_dir then
|
||||
|
@ -355,7 +355,7 @@ The internal error was:
|
|||
|
||||
@exclude = @options.exclude
|
||||
|
||||
@last_created = setup_output_dir @options.op_dir, @options.force_update
|
||||
setup_output_dir @options.op_dir, @options.force_update
|
||||
|
||||
start_time = Time.now
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче