Sha256: 2367569e00835279fd24c502dab783ad5864b570135b8bd81e3ea8aa8384632f

Contents?: true

Size: 285 Bytes

Versions: 214

Compression:

Stored size: 285 Bytes

Contents

$ erubis -X example11.rhtml
_buf = '';





     if @list.nil? || @list.empty? 

     else 


         @list.each_with_index do |item, i| 
                      _buf << ( i % 2 == 0 ? '#FCC' : '#CCF' ).to_s;
               _buf << ( item ).to_s;

         end 


     end 


_buf.to_s

Version data entries

214 entries across 188 versions & 44 rubygems

Version Path
rango-0.1.pre vendor/erubis/test/data/users-guide/example11.result
simple-templater-0.0.1 vendor/erubis/test/data/users-guide/example11.result
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/example11.result
erubis-2.6.5 test/data/users-guide/example11.result
erubis-2.3.0 test/data/users-guide/example11.result
erubis-2.6.2 test/data/users-guide/example11.result
erubis-2.5.0 test/data/users-guide/example11.result
erubis-2.4.1 test/data/users-guide/example11.result
erubis-2.4.0 test/data/users-guide/example11.result
erubis-2.3.1 test/data/users-guide/example11.result
erubis-2.6.3 test/data/users-guide/example11.result
erubis-2.6.1 test/data/users-guide/example11.result
erubis-2.6.0 test/data/users-guide/example11.result
erubis-2.6.4 test/data/users-guide/example11.result