aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/foreach-introspect.vm
blob: e242e0f2e0aa4a41b2144ef06873ca4f85f33dc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
##
## tests a difficult introspection problem -
## the iterator is a private inner class
##

#set($array = [1..10])
#set($it = $array.iterator())

#foreach($num in [21..30])
   $num $it.next()
#end