19 lines
247 B
Ruby
19 lines
247 B
Ruby
|
#!/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()
|
||
|
|
||
|
puts "deinit..."
|
||
|
Physfs.deinit()
|
||
|
|
||
|
puts "done!"
|
||
|
exit(0)
|
||
|
|