Class: WoopleTheme::Dashboard::AccountUserPresenter
- Inherits:
-
ExplicitDelegator
- Object
- ExplicitDelegator
- WoopleTheme::Dashboard::AccountUserPresenter
- Defined in:
- app/presenters/woople_theme/dashboard/account_user_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
#image ⇒ Object
8 9 10 |
# File 'app/presenters/woople_theme/dashboard/account_user_presenter.rb', line 8 def image @delegate.image == '/assets/retina_thumb/missing.png' ? 'woople-theme/missing-profile.png' : @delegate.image end |