Class: Dsu::Presenters::Project::ListPresenter
- Inherits:
-
BasePresenterEx
- Object
- BasePresenterEx
- Dsu::Presenters::Project::ListPresenter
- Defined in:
- lib/dsu/presenters/project/list_presenter.rb
Instance Method Summary collapse
-
#initialize(options: {}) ⇒ ListPresenter
constructor
A new instance of ListPresenter.
- #projects ⇒ Object
Constructor Details
#initialize(options: {}) ⇒ ListPresenter
Returns a new instance of ListPresenter.
10 11 12 |
# File 'lib/dsu/presenters/project/list_presenter.rb', line 10 def initialize(options: {}) super end |
Instance Method Details
#projects ⇒ Object
14 15 16 |
# File 'lib/dsu/presenters/project/list_presenter.rb', line 14 def projects @projects ||= Dsu::Models::Project.all end |