pep8analysis: intro a feature to clear the list of errors/notes
[nit.git] / examples / html_page.nit
index b44f5cc..cf76665 100644 (file)
@@ -101,5 +101,5 @@ class NitHomepage
 end
 
 var page = new NitHomepage
-print page.render
-page.save("nit.html")
+page.write_to stdout
+page.write_to_file("nit.html")