mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
13 lines
248 B
Ruby
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
|