Sha256: 5dc393b40dbb328416ecd6d492391322588749942a6f5551d5c00e889f8d6754

Contents?: true

Size: 410 Bytes

Versions: 2

Compression:

Stored size: 410 Bytes

Contents

module Symbiont
  module WebObjects

    class HiddenField < WebObject

      def initialize(web_object)
        @web_object = web_object
      end

      def self.usable_selectors
        super + [:text, :value]
      end

    end # class: HiddenField

    ::Symbiont::WebObjects.class_for_tag[:hidden] = ::Symbiont::WebObjects::HiddenField

  end # module: WebObjects
end # module: Symbiont

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
symbiont-0.2.1 lib/symbiont/web_objects/hidden_field.rb
symbiont-0.2.0 lib/symbiont/web_objects/hidden_field.rb