Skip to content

Latest commit

 

History

History
executable file
·
19 lines (12 loc) · 315 Bytes

test_physfs.rb

File metadata and controls

executable file
·
19 lines (12 loc) · 315 Bytes
 
Feb 4, 2010
Feb 4, 2010
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/ruby
require 'physfs'
puts "testing PhysicsFS Ruby bindings..."
puts "init..."
Physfs.init($0)
puts "user dir: " + Physfs.getUserDir()
puts "base dir: " + Physfs.getBaseDir()
Mar 22, 2012
Mar 22, 2012
12
puts "pref dir: " + Physfs.getPrefDir("icculus.org", "test_physfs")
Feb 4, 2010
Feb 4, 2010
13
14
15
16
17
18
puts "deinit..."
Physfs.deinit()
puts "done!"
exit(0)