Skip to content
Permalink
Browse files

undo

  • Loading branch information
alex committed Jul 14, 2013
1 parent 729a523 commit 559398739c5fc1953bbc850f962a92812f62b088
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib-topaz/dir.rb
@@ -4,11 +4,9 @@ def self.exists?(dirname)
dirname = dirname.to_path
end
begin
new(dirname)
!!new(dirname)
rescue Errno::ENOENT, Errno::ENOTDIR
return false
else
return true
false
end
end

0 comments on commit 5593987

Please sign in to comment.
You can’t perform that action at this time.