rename create_element to div and create to create_element

This commit is contained in:
Torsten Ruger
2015-08-22 01:05:35 +02:00
parent 6925a3fefa
commit b21ca406c8
2 changed files with 12 additions and 2 deletions

View File

@ -13,7 +13,7 @@ class ListView < ElementView
end
def draw on
@container_element = create_element(self.root)
@container_element = div(self.root)
@elements = @children.collect do | c |
elem = c.draw(@container_element)
elem.append_to(@container_element)