Class: Adva::View::Menu::Admin
Defined Under Namespace
Classes: Actions
Class Method Summary
collapse
Instance Method Summary
collapse
#item, #label, #to_html
Class Method Details
.id(id) ⇒ Object
7
8
9
|
# File 'lib/adva/view/menu/admin.rb', line 7
def self.id(id)
write_inheritable_attribute(:id, id)
end
|
Instance Method Details
#build ⇒ Object
15
16
17
18
19
20
21
22
23
24
25
26
|
# File 'lib/adva/view/menu/admin.rb', line 15
def build
div :id => id, :class => 'menus' do
ul :class => 'menu main' do
main
render_items
end
ul :class => 'menu right' do
right
render_items
end
end
end
|
#main ⇒ Object
28
29
|
# File 'lib/adva/view/menu/admin.rb', line 28
def main
end
|
#right ⇒ Object
31
32
|
# File 'lib/adva/view/menu/admin.rb', line 31
def right
end
|