Method: Lit::Generators::InstallGenerator#set_authentication_function

Defined in:
lib/generators/lit/install_generator.rb

#set_authentication_functionObject



13
14
15
16
17
# File 'lib/generators/lit/install_generator.rb', line 13

def set_authentication_function
  @authentication_function = options['authentication-function'].presence ||
        ask("What's the authentication function, ie. :authenticate_user! :").presence ||
        nil
end