Sha256: 1d09682876b72c113df90fc27b4661e9e8473fc1f274eab908323c0df747c273
Contents?: true
Size: 304 Bytes
Versions: 2
Compression:
Stored size: 304 Bytes
Contents
Application.class_eval do helpers do def table_class(test, index) (index + 1) % 3 == 0 || @tests.last == test ? 'last' : nil end def table_json(test) { :name => test.name, :ticket_url => test.ticket_url, :variant_names => test.variant_names }.to_json end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
a_b-0.1.1 | lib/a_b/helper/index.rb |
a_b-0.1.0 | lib/a_b/helper/index.rb |