gamnit: make `SpriteSet` public so clients can use its services
[nit.git] / examples / rosettacode / read_entire_file.nit
1 #!/usr/bin/env nit
2 #
3 # This file is part of NIT ( http://www.nitlanguage.org ).
4 # This program is public domain
5
6 # Task: Read entire file
7 #
8 # SEE: http://rosettacode.org/wiki/Read_entire_file
9 module read_entire_file
10
11 var filename = "/etc/issue"
12 var content = filename.to_path.read_all
13 print content