lib/page-object/elements/canvas.rb in page-object-1.1.1 vs lib/page-object/elements/canvas.rb in page-object-1.2.0

- old
+ new

@@ -1,22 +1,10 @@ module PageObject module Elements class Canvas < Element - # - # return the width of the canvas - # - def width - attribute(:width).to_i - end - # - # return the height of the canvas - # - def height - attribute(:height).to_i - end - + end ::PageObject::Elements.type_to_class[:canvas] = ::PageObject::Elements::Canvas end end