diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb index bf7db52..3b67164 100644 --- a/lib/tmpdir.rb +++ b/lib/tmpdir.rb @@ -69,7 +69,7 @@ def self.tmpdir # # Dir.mktmpdir {|dir| # # use the directory... - # open("#{dir}/foo", "w") { ... } + # open("#{dir}/foo", "w") { something using the file } # } # # If a block is not given, @@ -79,7 +79,7 @@ def self.tmpdir # dir = Dir.mktmpdir # begin # # use the directory... - # open("#{dir}/foo", "w") { ... } + # open("#{dir}/foo", "w") { something using the file } # ensure # # remove the directory. # FileUtils.remove_entry dir