Class: RailsWizard::Config::MultipleChoice

Inherits:
Prompt
  • Object
show all
Defined in:
lib/rails_wizard/config.rb

Instance Attribute Summary

Attributes inherited from Prompt

#details, #prompt

Instance Method Summary collapse

Methods inherited from Prompt

#compile, #conditions, #config_conditions, #initialize, #recipe_conditions

Constructor Details

This class inherits a constructor from RailsWizard::Config::Prompt

Instance Method Details

#questionObject



77
78
79
# File 'lib/rails_wizard/config.rb', line 77

def question
  "multiple_choice(#{prompt.inspect}, #{@details['choices'].inspect})"
end