aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/file_fixtures.rb
diff options
context:
space:
mode:
authorIan Ker-Seymer <i.kerseymer@gmail.com>2015-01-28 00:33:57 -0700
committerIan Ker-Seymer <i.kerseymer@gmail.com>2015-01-28 00:40:25 -0700
commitb3c23f117695b3089c03b7c0d78781c176b2c418 (patch)
tree8e22ceeb85b8099b84a4f3efe3fda92875bb0766 /activesupport/lib/active_support/testing/file_fixtures.rb
parent36082a62048248c27cdd513c943ee94b716bd7f8 (diff)
downloadrails-b3c23f117695b3089c03b7c0d78781c176b2c418.tar.gz
rails-b3c23f117695b3089c03b7c0d78781c176b2c418.tar.bz2
rails-b3c23f117695b3089c03b7c0d78781c176b2c418.zip
Return value of yielded block in File.atomic_write
Staying true to Ruby convention, we now return the value of the yielded block from `File.atomic_write {...}`. This mimics the behavior of MRI's `File.open {...}`.
Diffstat (limited to 'activesupport/lib/active_support/testing/file_fixtures.rb')
0 files changed, 0 insertions, 0 deletions