From 552dc8edb08ffc78a3de7622d6eb5616db7c5801 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 5 Sep 2011 17:27:02 -0400 Subject: [PATCH] minor comment change --- lib/fakefs/file.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fakefs/file.rb b/lib/fakefs/file.rb index 1698b3a..04e30c7 100644 --- a/lib/fakefs/file.rb +++ b/lib/fakefs/file.rb @@ -398,12 +398,12 @@ module FakeFS (@mode & mask) != 0 if @mode.is_a?(Integer) end - # Create a missing file if the path's valid. + # Create a missing file if the path is valid. # def create_missing_file raise Errno::EISDIR, "Is a directory - #{path}" if File.directory?(@path) - if !File.exists?(@path) # Unnecessary check, probably. + if !File.exists?(@path) # Unnecessary check, probably. dirname = RealFile.dirname @path unless dirname == "."