Nicolas Cannasse %!s(int64=19) %!d(string=hai) anos
pai
achega
dc583419ce
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      std/neko/File.hx

+ 11 - 0
std/neko/File.hx

@@ -0,0 +1,11 @@
+package neko;
+
+class File {
+
+	public static function getContent( filename : String ) {
+		return new String(_content(untyped filename.__s));
+	}
+
+	private static var _content = Lib.load("std","file_contents",1);
+
+}