Method: Authenticate::Generators::InstallGenerator#verify
- Defined in:
- lib/generators/authenticate/install/install_generator.rb
#verify ⇒ Object
29 30 31 32 33 34 |
# File 'lib/generators/authenticate/install/install_generator.rb', line 29 def verify if [:model] && !File.exist?(model_path) puts "Exiting: the model class you specified, #{options[:model]}, is not found." exit 1 end end |