~ubuntu-branches/ubuntu/saucy/ruby-erubis/saucy

« back to all changes in this revision

Viewing changes to test/data/users-guide/example2_trim.result

  • Committer: Package Import Robot
  • Author(s): Laurent Bigonville
  • Date: 2012-01-26 15:15:58 UTC
  • Revision ID: package-import@ubuntu.com-20120126151558-9u7mnf9ooqnw3bwz
Tags: upstream-2.7.0
ImportĀ upstreamĀ versionĀ 2.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
$ erubis -x --trim=false example2.eruby
 
2
_buf = ''; _buf << '<ul>
 
3
'; _buf << '  '; for item in list ; _buf << '
 
4
'; _buf << '  <li>
 
5
    '; _buf << ( item ).to_s; _buf << '
 
6
'; _buf << '  </li>
 
7
'; _buf << '  '; end ; _buf << '
 
8
'; _buf << '</ul>
 
9
';
 
10
_buf.to_s