Sha256: 754a50564c4d0ca2d752d234fd69f38727f996cf757efbd06543e7ba62d513fa

Contents?: true

Size: 306 Bytes

Versions: 28

Compression:

Stored size: 306 Bytes

Contents

require 'rails/generators'
require 'active_support/core_ext/object/inclusion'

Rails::Generators.configure!

if ARGV.first.in?([nil, "-h", "--help"])
  Rails::Generators.help 'destroy'
  exit
end

name = ARGV.shift
Rails::Generators.invoke name, ARGV, :behavior => :revoke, :destination_root => Rails.root

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
railties-3.1.12 lib/rails/commands/destroy.rb
railties-3.1.11 lib/rails/commands/destroy.rb
railties-3.1.10 lib/rails/commands/destroy.rb
railties-3.1.9 lib/rails/commands/destroy.rb
railties-3.1.8 lib/rails/commands/destroy.rb
railties-3.1.7 lib/rails/commands/destroy.rb
railties-3.1.6 lib/rails/commands/destroy.rb
railties-3.1.5 lib/rails/commands/destroy.rb
railties-3.1.5.rc1 lib/rails/commands/destroy.rb
railties-3.1.4 lib/rails/commands/destroy.rb
railties-3.1.4.rc1 lib/rails/commands/destroy.rb
railties-3.1.3 lib/rails/commands/destroy.rb
railties-3.1.2 lib/rails/commands/destroy.rb
railties-3.1.2.rc2 lib/rails/commands/destroy.rb
railties-3.1.2.rc1 lib/rails/commands/destroy.rb
railties-3.1.1 lib/rails/commands/destroy.rb
railties-3.1.1.rc3 lib/rails/commands/destroy.rb
railties-3.1.1.rc2 lib/rails/commands/destroy.rb
railties-3.1.1.rc1 lib/rails/commands/destroy.rb
railties-3.1.0 lib/rails/commands/destroy.rb