Sha256: d267a2280b0a6e0be9b90401c5763f2f05f78c516c010e48977f1aa789a6e498

Contents?: true

Size: 515 Bytes

Versions: 7

Compression:

Stored size: 515 Bytes

Contents

module PageObject
  module Elements
    class Area < Element

      #
      # return the coordinates of the area
      #
      def coords
        attribute(:coords)
      end

      #
      # return the shape of the area
      #
      def shape
        attribute(:shape)
      end

      #
      # return the href of the area
      #
      def href
        attribute(:href)
      end

    end

    ::PageObject::Elements.type_to_class[:area] = ::PageObject::Elements::Area
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
page-object-lds-0.0.14 lib/page-object/elements/area.rb
page-object-lds-0.0.13 lib/page-object/elements/area.rb
page-object-lds-0.0.12 lib/page-object/elements/area.rb
page-object-lds-0.0.11 lib/page-object/elements/area.rb
page-object-lds-0.0.1 lib/page-object/elements/area.rb
meeane-page-object-0.1.10 lib/page-object/elements/area.rb
meeane-page-object-0.1.8 lib/page-object/elements/area.rb