class AX::RadioButton
Radio buttons are not the same as a generic button, radio buttons work in mutually exclusive groups (you can only select one at a time). You often have radio buttons when dealing with tab groups.
Public Instance Methods
==(other)
click to toggle source
Test equality with another object. Equality can be with another {AX::Element} or it can be with a string that matches the title of the radio button.
@return [Boolean]
Calls superclass method
AX::Element#==
# File lib/ax/radio_button.rb, line 15 def == other if other.kind_of? String attribute(:title) == other else super end end