Class: Answers::QuestionView

Inherits:
MustacheRails show all
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

#descriptionObject



12
13
14
# File 'lib/question_chain/models/answers/question_view.rb', line 12

def description
  question.description
end

#labelObject



8
9
10
# File 'lib/question_chain/models/answers/question_view.rb', line 8

def label
  question.label
end

#nameObject



4
5
6
# File 'lib/question_chain/models/answers/question_view.rb', line 4

def name
  question.name
end