Class: WoopleTheme::QuestionPresenter

Inherits:
ExplicitDelegator show all
Defined in:
app/presenters/woople_theme/question_presenter.rb

Direct Known Subclasses

SubmittedQuestionPresenter

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



9
10
11
# File 'app/presenters/woople_theme/question_presenter.rb', line 9

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