Class: Tramway::Event::PersonDecorator
- Inherits:
-
Core::ApplicationDecorator
- Object
- Core::ApplicationDecorator
- Tramway::Event::PersonDecorator
- Defined in:
- app/decorators/tramway/event/person_decorator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.collections ⇒ Object
5 6 7 |
# File 'app/decorators/tramway/event/person_decorator.rb', line 5 def collections [:all] end |
Instance Method Details
#name ⇒ Object
12 13 14 |
# File 'app/decorators/tramway/event/person_decorator.rb', line 12 def name "#{object.first_name} #{object.last_name}" end |