method
default_value_for_option
v4.2.9 -
Show latest stable
- Class:
Rails::Generators::Base
default_value_for_option(name, options)protected
Returns the default value for the option name given doing a lookup in Rails::Generators.options.