Module: CollectionAssociationDecorator
- Defined in:
- lib/active_decorator_with_decorate_associations/collection_association_decorator.rb
Instance Method Summary collapse
Instance Method Details
#first_nth_or_last(*args) ⇒ Object
13 14 15 |
# File 'lib/active_decorator_with_decorate_associations/collection_association_decorator.rb', line 13 def first_nth_or_last(*args) ActiveDecoratorWithDecorateAssociations::Decorator.instance.decorate(owner, super) end |
#first_or_last(*args) ⇒ Object
7 8 9 |
# File 'lib/active_decorator_with_decorate_associations/collection_association_decorator.rb', line 7 def first_or_last(*args) ActiveDecoratorWithDecorateAssociations::Decorator.instance.decorate(owner, super) end |