instiki/vendor/rails/railties/lib/commands/destroy.rb
2007-01-22 07:43:50 -06:00

6 lines
210 B
Ruby

require "#{RAILS_ROOT}/config/environment"
require 'rails_generator'
require 'rails_generator/scripts/destroy'
ARGV.shift if ['--help', '-h'].include?(ARGV[0])
Rails::Generator::Scripts::Destroy.new.run(ARGV)