mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
* object.c (rb_mod_cvar_get): new method Module#class_variable_get.
* object.c (rb_mod_cvar_set): ditto (Module#class_variable_set). * eval.c (rb_thread_atfork): 1.9 warns no more for thread termination. [ruby-dev:23212] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
38c173aa60
commit
4f0ef242cc
4 changed files with 72 additions and 2 deletions
|
@ -77,7 +77,8 @@ class Tempfile < SimpleDelegator
|
|||
def _close # :nodoc:
|
||||
@tmpfile.close if @tmpfile
|
||||
@data[1] = @tmpfile = nil
|
||||
end
|
||||
@data = @tmpname = nil
|
||||
end
|
||||
protected :_close
|
||||
|
||||
# Closes the file. If the optional flag is true, unlinks the file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue