Class: Smartdown::Model::Element::Question::MultipleChoice
- Inherits:
-
Struct
- Object
- Struct
- Smartdown::Model::Element::Question::MultipleChoice
- Defined in:
- lib/smartdown/model/element/question/multiple_choice.rb
Instance Attribute Summary collapse
-
#alias ⇒ Object
Returns the value of attribute alias.
-
#choices ⇒ Object
Returns the value of attribute choices.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#alias ⇒ Object
Returns the value of attribute alias
7 8 9 |
# File 'lib/smartdown/model/element/question/multiple_choice.rb', line 7 def alias @alias end |
#choices ⇒ Object
Returns the value of attribute choices
7 8 9 |
# File 'lib/smartdown/model/element/question/multiple_choice.rb', line 7 def choices @choices end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/smartdown/model/element/question/multiple_choice.rb', line 7 def name @name end |
Instance Method Details
#answer_type ⇒ Object
8 9 10 |
# File 'lib/smartdown/model/element/question/multiple_choice.rb', line 8 def answer_type Smartdown::Model::Answer::MultipleChoice end |