lib/page-object/elements/canvas.rb in meeane-page-object-0.1.10 vs lib/page-object/elements/canvas.rb in meeane-page-object-0.1.11
- old
+ new
@@ -1,23 +1,23 @@
-
-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
-
+
+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
+