Sha256: a510cb82899a179958a6b1dc937293748cc6bf9d0348a800b1c12948827aba57
Contents?: true
Size: 348 Bytes
Versions: 4
Compression:
Stored size: 348 Bytes
Contents
require 'tilt' class ComplexView include Tilt::CompileSite def header "Colors" end def item items = [] items << { :name => 'red', :current => true, :url => '#red' } items << { :name => 'green', :current => false, :url => '#green' } items << { :name => 'blue', :current => false, :url => '#blue' } items end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
slim-0.7.3 | benchmarks/src/complex_view.rb |
slim-0.7.2 | benchmarks/src/complex_view.rb |
slim-0.7.1 | benchmarks/src/complex_view.rb |
slim-0.7.0 | benchmarks/src/complex_view.rb |