Sha256: 622a0c6f627cede2ce38a6da70d5fb96d588bdc9dc689af154647126e2372b7e

Contents?: true

Size: 512 Bytes

Versions: 3

Compression:

Stored size: 512 Bytes

Contents

module Symbiont
  module WebObjects
    
    class TableCell < WebObject

      def initialize(web_object)
        @web_object = web_object
      end

      def enabled?
        true
      end

      def self.usable_selectors
        super + [:text]
      end

    end # class: TableCell
    
    ::Symbiont::WebObjects.class_for_tag[:td] = ::Symbiont::WebObjects::TableCell
    ::Symbiont::WebObjects.class_for_tag[:th] = ::Symbiont::WebObjects::TableCell
    
  end # module: WebObjects
end # module: Symbiont

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
symbiont-0.2.1 lib/symbiont/web_objects/table_cell.rb
symbiont-0.2.0 lib/symbiont/web_objects/table_cell.rb
symbiont-0.1.9 lib/symbiont/web_objects/table_cell.rb