Sha256: 1a53807f8ca90fc99afaa5193937ad624502b5138bc19268e68898e2b4d13077

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

module Druid
  module Elements
    class TextArea < Element

      def self.finders
        super + [:tag_name]
      end

      def self.mapping
        super.merge({:css => :tag_name})
      end

      #
      # Set the value of the TextArea
      #
      def value=(new_value)
        element.set(new_value)
      end

    end

    Druid::Elements.tag_to_class[:textarea] = Druid::Elements::TextArea

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
druid-ts-1.1.3 lib/druid/elements/text_area.rb
druid-ts-1.1.2 lib/druid/elements/text_area.rb