class RailsNewApp::AuthenticationScreen

Public Class Methods

default() click to toggle source
# File lib/rails-new-app/screens/authentication_screen.rb, line 19
def self.default
  {
    option_number: 1,
    name: "None",
    key: ""
  }
end

Public Instance Methods

after_valid() click to toggle source
# File lib/rails-new-app/screens/authentication_screen.rb, line 15
def after_valid
  puts "Selected authentication gem is: #{option}\n"
end
lowercase_keys() click to toggle source
# File lib/rails-new-app/screens/authentication_screen.rb, line 11
def lowercase_keys
  ["", "devise"]
end
options() click to toggle source
# File lib/rails-new-app/screens/authentication_screen.rb, line 7
def options
  ["None", "Devise"]
end
step_question() click to toggle source
# File lib/rails-new-app/screens/authentication_screen.rb, line 3
def step_question
  "Type the option number of the Authentication gem to use:"
end