diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-11 01:46:31 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-11 01:46:31 +0000 |
commit | edc4823184ab9c0c5254c71f64d72a0e66042fbb (patch) | |
tree | 801696c8348d4a6374faac5b968b250ce022ef2e /lib/tempfile.rb | |
parent | b7c3cb31f0374d98f7a3ea5ab80fd25857a1b847 (diff) | |
download | ruby-edc4823184ab9c0c5254c71f64d72a0e66042fbb.tar.gz |
* lib/tempfile.rb (Tempfile#unlink): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tempfile.rb')
-rw-r--r-- | lib/tempfile.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 65b4bc69ac..1b2a889b4a 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -118,7 +118,7 @@ class Tempfile < DelegateClass(File) @@cleanlist.delete(@tmpname) @data = @tmpname = nil ObjectSpace.undefine_finalizer(self) - rescue Errno::EACCESS + rescue Errno::EACCES # may not be able to unlink on Windows; just ignore end end |