Removed duplicate method definition

This commit is contained in:
Matt Brewer
2013-03-20 10:00:13 -04:00
parent 4db0b141ba
commit ef76332521

View File

@@ -27,17 +27,5 @@ module ProMotion
return self.view.frame
end
def content_height(view)
height = 0
view.subviews.each do |subview|
next if subview.isHidden
y = subview.frame.origin.y
h = subview.frame.size.height
if (y + h) > height
height = y + h
end
end
height
end
end
end