Class: Mayaml::MuttAccountAlternates::Presenter
- Inherits:
-
Object
- Object
- Mayaml::MuttAccountAlternates::Presenter
- Includes:
- Mainapp::Component
- Defined in:
- lib/mayaml/mutt_account_alternates/presenter.rb
Instance Method Summary collapse
Instance Method Details
#for_render(data) ⇒ Object
11 12 13 14 15 |
# File 'lib/mayaml/mutt_account_alternates/presenter.rb', line 11 def for_render(data) { accounts: data.map { _1[:name] }.join(" ") } end |