Add jbuilder generator completion.

This commit is contained in:
Kazuya Takeshima 2013-07-10 00:40:14 +09:00
parent 80ca790ee5
commit 0cd7ec957b
1 changed files with 10 additions and 0 deletions

View File

@ -270,6 +270,16 @@ _rails_generate_integration_test() {
': :_guard "^-*" "name"' \ ': :_guard "^-*" "name"' \
} }
_rails_generate_jbuilder() {
local -a generators_options
__rails_setup_generators_options
_arguments \
$generators_options \
': :_guard "^-*" "name"' \
'*: :__rails_migration_fields'
}
_rails_generate_mailer() { _rails_generate_mailer() {
local -a generators_options local -a generators_options
__rails_setup_generators_options __rails_setup_generators_options