1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/benchmarks/context.rb
2015-03-09 15:23:02 +09:00

13 lines
248 B
Ruby

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