Sha256: a83caa6a0f0c471dc5a87920ef237785ec201152e822a9e1e74879ef3744cb06

Contents?: true

Size: 264 Bytes

Versions: 109

Compression:

Stored size: 264 Bytes

Contents

class Context
  def header
    'Colors'
  end

  def item
    [ { :name => 'red',   :current => true,  :url => '#red'   },
      { :name => 'green', :current => false, :url => '#green' },
      { :name => 'blue',  :current => false, :url => '#blue'  } ]
  end
end

Version data entries

109 entries across 64 versions & 2 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/slim-1.2.0/benchmarks/context.rb
classiccms-0.7.5 vendor/bundle/gems/slim-1.2.1/benchmarks/context.rb
classiccms-0.7.4 vendor/bundle/gems/slim-1.2.0/benchmarks/context.rb
classiccms-0.7.4 vendor/bundle/gems/slim-1.2.1/benchmarks/context.rb
classiccms-0.7.3 vendor/bundle/gems/slim-1.2.1/benchmarks/context.rb
classiccms-0.7.3 vendor/bundle/gems/slim-1.2.0/benchmarks/context.rb
slim-2.1.0 benchmarks/context.rb
slim-2.0.3 benchmarks/context.rb
slim-2.0.2 benchmarks/context.rb
slim-2.0.1 benchmarks/context.rb
classiccms-0.7.2 vendor/bundle/gems/slim-1.2.0/benchmarks/context.rb
classiccms-0.7.2 vendor/bundle/gems/slim-1.2.1/benchmarks/context.rb
classiccms-0.7.1 vendor/bundle/gems/slim-1.2.0/benchmarks/context.rb
classiccms-0.7.1 vendor/bundle/gems/slim-1.2.1/benchmarks/context.rb
slim-2.0.0 benchmarks/context.rb
classiccms-0.7.0 vendor/bundle/gems/slim-1.2.0/benchmarks/context.rb
classiccms-0.7.0 vendor/bundle/gems/slim-1.2.1/benchmarks/context.rb
slim-1.3.9 benchmarks/context.rb
slim-1.3.8 benchmarks/context.rb
slim-1.3.6 benchmarks/context.rb