Sha256: 75a369c01edea1367b62d58774cc2f4effee12d3d4b77146829b58c24a72c82e
Contents?: true
Size: 673 Bytes
Versions: 2
Compression:
Stored size: 673 Bytes
Contents
module Symbiont module WebObjects class Button < WebObject def initialize(web_object) @web_object = web_object end def self.usable_selectors super + [:value, :text, :src, :alt] end end # class: Button ::Symbiont::WebObjects.class_for_type[:submit] = ::Symbiont::WebObjects::Button ::Symbiont::WebObjects.class_for_type[:button] = ::Symbiont::WebObjects::Button ::Symbiont::WebObjects.class_for_type[:image] = ::Symbiont::WebObjects::Button ::Symbiont::WebObjects.class_for_type[:reset] = ::Symbiont::WebObjects::Button 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/button.rb |
symbiont-0.2.0 | lib/symbiont/web_objects/button.rb |