File: update.rb

package info (click to toggle)
ruby-railties-3.2 3.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,808 kB
  • sloc: ruby: 6,217; makefile: 10
file content (9 lines) | stat: -rw-r--r-- 210 bytes parent folder | download
1
2
3
4
5
6
7
8
9
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'generators'))

if ARGV.size == 0
  Rails::Generators.help
  exit
end

name = ARGV.shift
Rails::Generators.invoke name, ARGV, :behavior => :skip