Class: Answers::QuestionView
- Inherits:
-
MustacheRails
- Object
- Mustache
- MustacheRails
- Answers::QuestionView
- Defined in:
- lib/question_chain/models/answers/question_view.rb
Instance Method Summary collapse
Methods inherited from MustacheRails
#initialize, #method_missing, #render, #respond_to?, #template=
Constructor Details
This class inherits a constructor from MustacheRails
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MustacheRails
Instance Method Details
#description ⇒ Object
12 13 14 |
# File 'lib/question_chain/models/answers/question_view.rb', line 12 def description question.description end |
#label ⇒ Object
8 9 10 |
# File 'lib/question_chain/models/answers/question_view.rb', line 8 def label question.label end |
#name ⇒ Object
4 5 6 |
# File 'lib/question_chain/models/answers/question_view.rb', line 4 def name question.name end |