aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/file
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2010-02-07 11:41:49 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2010-02-07 11:42:24 -0800
commita1a6e54d14b70e1d418d4939328e6eb24bdd8f3b (patch)
tree23f880b5b64a19050dadf4e4926a9d39a7cb0659 /activesupport/lib/active_support/core_ext/file
parent518b4ff478984b74085239b0aa69fe67f7c01d9a (diff)
downloadrails-a1a6e54d14b70e1d418d4939328e6eb24bdd8f3b.tar.gz
rails-a1a6e54d14b70e1d418d4939328e6eb24bdd8f3b.tar.bz2
rails-a1a6e54d14b70e1d418d4939328e6eb24bdd8f3b.zip
Fix doc typo and update fast_xs URL. Thanks to Dmitrii Golub.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/file')
-rw-r--r--activesupport/lib/active_support/core_ext/file/atomic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/file/atomic.rb b/activesupport/lib/active_support/core_ext/file/atomic.rb
index 249fb1362d..49d28e8a34 100644
--- a/activesupport/lib/active_support/core_ext/file/atomic.rb
+++ b/activesupport/lib/active_support/core_ext/file/atomic.rb
@@ -9,7 +9,7 @@ class File
# If your temp directory is not on the same filesystem as the file you're
# trying to write, you can provide a different temporary directory.
#
- # File.atomic_write("/data/something.important", "/data/tmp") do |f|
+ # File.atomic_write("/data/something.important", "/data/tmp") do |file|
# file.write("hello")
# end
def self.atomic_write(file_name, temp_dir = Dir.tmpdir)