lib/architecture-js/generator.rb in architecture-js-0.3.6 vs lib/architecture-js/generator.rb in architecture-js-0.3.7

- old
+ new

@@ -51,10 +51,10 @@ end def generate_file(filename, template, path = nil) path ||= File.expand_path(Dir.getwd) File.open("#{path}/#{filename}", "w+") { |f| f.write template } - puts ArchitectureJS::Notification.added "#{filename} #{template} added" if File.exists("#{path}/#{filename}") + puts ArchitectureJS::Notification.added "#{filename} #{template} added" if File.exists?("#{path}/#{filename}") end def render_template(template, filename, arguments, options) blueprint = @blueprint project = @project \ No newline at end of file