Recursive ruby function in rhtml

can anybody give me an idea(syntax)about how do i go abt writing a ruby
function that is recursive in rhtml file. this function will display
text on the screen.

preferably you would use a helper method or a partial.

just have the method/partial try and render itself within itself until
the base case is reached

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