Created
October 10, 2009 15:47
-
-
Save jarib/206929 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Button | |
extend ElementHelper | |
add_specifier :tag_name => 'input', :types => %w[button submit image reset] | |
add_specifier :tag_name => 'button' | |
container_method :button | |
container_collection_method :buttons | |
end | |
module Radio | |
extend ElementHelper | |
include RadioCheckBoxCommon | |
add_specifier :tag_name => 'input', :type => 'radio' | |
container_method :radio, :extra_args => :value | |
container_collection_method :radios | |
inspect_these :checked | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment