]> git.openstreetmap.org Git - rails.git/blob - vendor/gems/rspec-1.1.2/bin/spec_translator
make sure preset menu is removed on deselect
[rails.git] / vendor / gems / rspec-1.1.2 / bin / spec_translator
1 #!/usr/bin/env ruby
2 raise "\n\nUsage: spec_translator from_dir to_dir\n\n" if ARGV.size != 2
3 $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../lib"))
4 require 'spec/translator'
5 t = ::Spec::Translator.new
6 from = ARGV[0]
7 to = ARGV[1]
8 t.translate(from, to)