class RailsNewApp::FormBuilderScreen
Public Class Methods
default()
click to toggle source
# File lib/rails-new-app/screens/form_builder_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/form_builder_screen.rb, line 15 def after_valid puts "Selected Form builder is: #{option}\n" end
lowercase_keys()
click to toggle source
# File lib/rails-new-app/screens/form_builder_screen.rb, line 11 def lowercase_keys ["", "simple_form", "formtastic"] end
options()
click to toggle source
# File lib/rails-new-app/screens/form_builder_screen.rb, line 7 def options ["None", "Simple Form", "Formtastic"] end
step_question()
click to toggle source
# File lib/rails-new-app/screens/form_builder_screen.rb, line 3 def step_question "Type the option number of the Form Builder gem to use:" end