Can a part iterate over other parts?

I’d like to have pages/parts structured like this:

A page with a “body” part which iterate over sub-pages. Each sub-page
contains several parts, one called “main” and others. I’d like to
know how to iterate over the other parts. Is that possible? Am I
clear enough?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs