Module: ActiveDecorator::RelationDecorator
- Defined in:
- lib/active_decorator/decorator.rb
Instance Method Summary collapse
Instance Method Details
#to_a ⇒ Object
54 55 56 57 58 |
# File 'lib/active_decorator/decorator.rb', line 54 def to_a super.tap do |arr| ActiveDecorator::Decorator.instance.decorate arr end end |