aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/tempfile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index ba2a437f79..57fb228c13 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -291,7 +291,7 @@ class Tempfile < DelegateClass(File)
#
# If a block is given, then a Tempfile object will be constructed,
# and the block is run with said object as argument. The Tempfile
- # oject will be automatically closed after the block terminates.
+ # object will be automatically closed after the block terminates.
# The call returns the value of the block.
#
# In any case, all arguments (+*args+) will be passed to Tempfile.new.