Class: AppScrollsScrolls::Config::MultipleChoice

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

Instance Attribute Summary

Attributes inherited from Prompt

#details, #prompt

Instance Method Summary collapse

Methods inherited from Prompt

#compile, #conditions, #config_conditions, #initialize, #scroll_conditions

Constructor Details

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

Instance Method Details

#questionObject



75
76
77
# File 'lib/appscrolls/config.rb', line 75

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