method
add_options!
v1.0.0 -
Show latest stable
- Class:
AppGenerator
add_options!(opt)protected
No documentation available.
# File railties/lib/rails_generator/generators/applications/app/app_generator.rb, line 91
def add_options!(opt)
opt.separator ''
opt.separator 'Options:'
opt.on("--ruby [#{DEFAULT_SHEBANG}]",
"Path to the Ruby binary of your choice.") { |options[:shebang]| }
opt.on("--without-gems",
"Don't use the Rails gems for your app.",
"WARNING: see note below.") { |options[:gem]| }
end