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