# File lib/PageTemplate/commands.rb, line 502 def to_s str = "[ Loop: #{@value} " + @commands.to_s str << " Else: " + @elseCommands.to_s if @elseCommands.length > 0 str << ' ]' str end