class RailsNewApp::AuthScreen

Public Class Methods

default() click to toggle source
# File lib/rails-new-app/screens/auth_screen.rb, line 15
def self.default
  {}
end

Public Instance Methods

next_step() click to toggle source
# File lib/rails-new-app/screens/auth_screen.rb, line 19
def next_step
  case @input
  when 1 then :authentication
  when 2 then :authorization
  end
end
options() click to toggle source
# File lib/rails-new-app/screens/auth_screen.rb, line 3
def options
  ["Authentication", "Authorization"]
end
return_value() click to toggle source
# File lib/rails-new-app/screens/auth_screen.rb, line 11
def return_value
  nil
end
step_question() click to toggle source
# File lib/rails-new-app/screens/auth_screen.rb, line 7
def step_question
  "Type the option to go to a submenu:"
end