Method: Authenticate::Generators::InstallGenerator#verify

Defined in:
lib/generators/authenticate/install/install_generator.rb

#verifyObject



29
30
31
32
33
34
# File 'lib/generators/authenticate/install/install_generator.rb', line 29

def verify
  if options[:model] && !File.exist?(model_path)
    puts "Exiting: the model class you specified, #{options[:model]}, is not found."
    exit 1
  end
end