lib/ruboty/commands/generate.rb in ruboty-1.1.4 vs lib/ruboty/commands/generate.rb in ruboty-1.1.5
- old
+ new
@@ -24,10 +24,10 @@
def destination_path
"./ruboty/"
end
def valid?
- !File.exists?(destination_path)
+ !File.exist?(destination_path)
end
end
end
end