Class: WoopleTheme::SubmittedQuestionPresenter

Inherits:
QuestionPresenter show all
Defined in:
app/presenters/woople_theme/submitted_question_presenter.rb

Instance Method Summary collapse

Methods inherited from ExplicitDelegator

enforce_definitions, #enforced_methods, #ensure_defined, #initialize

Constructor Details

This class inherits a constructor from ExplicitDelegator

Instance Method Details

#answersObject



3
4
5
# File 'app/presenters/woople_theme/submitted_question_presenter.rb', line 3

def answers
  ThemePresentation.wrap_collection(@delegate.answers, WoopleTheme::SubmittedAnswerPresenter)
end