redo object view as list, introduce ref view

This commit is contained in:
Torsten Ruger
2015-08-22 20:11:33 +02:00
parent caa1da342c
commit 7885ae93c4
5 changed files with 49 additions and 30 deletions

View File

@ -14,7 +14,7 @@ class ListView < ElementView
def draw root = "div"
@element = div(root)
@elements = @children.collect do | c |
add_element c.draw
append_element c.draw
end
@element
end