File: recursive.xhtml

package info (click to toggle)
libinnate-ruby 2010.07-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 812 kB
  • ctags: 621
  • sloc: ruby: 4,242; makefile: 2
file content (7 lines) | stat: -rw-r--r-- 102 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
{
  #{@n}
  <?r if @n < 4 ?>
    #{ render_partial(:recursive, :n => @n + 1) }
  <?r end ?>
  #{@n}
}