Sha256: 5a12366619b2e48c985f97cc75a65b09b2e3906ebd28566ac912b5012f6de2b3

Contents?: true

Size: 319 Bytes

Versions: 7

Compression:

Stored size: 319 Bytes

Contents

require 'tilt'

class ComplexView
  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

7 entries across 7 versions & 1 rubygems

Version Path
slim-1.0.4 benchmarks/complex_view.rb
slim-1.0.3 benchmarks/complex_view.rb
slim-1.0.2 benchmarks/complex_view.rb
slim-1.0.1 benchmarks/src/complex_view.rb
slim-1.0.0 benchmarks/src/complex_view.rb
slim-0.9.4 benchmarks/src/complex_view.rb
slim-0.9.3 benchmarks/src/complex_view.rb