Sha256: f53db8a307aabad8543ba7507c40031d639fdd88157f6cba3b38721aafcf2336

Contents?: true

Size: 279 Bytes

Versions: 214

Compression:

Stored size: 279 Bytes

Contents

$ erubis -XU 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
brakeman-3.7.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
vagrant-unbundled-1.9.7.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
brakeman-3.7.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
brakeman-3.6.2 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
brakeman-3.6.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
brakeman-3.6.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
brakeman-3.5.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
abaci-0.3.0 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
brakeman-3.4.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/erubis-2.7.0/test/data/users-guide/example11_U.result