Add test script to extract version from URL/path.

This commit is contained in:
Adam Vandenberg 2010-04-04 11:48:13 -07:00
parent 81f87c69ac
commit d2b2ecbd0b

View File

@ -0,0 +1,7 @@
#!/usr/bin/ruby
$:.push(File.expand_path(__FILE__+'/../..'))
require 'extend/pathname'
p = Pathname.new(ARGV[0])
v = p.version
puts v