Class: Mechanize::Form::RadioButton
- Inherits:
-
Object
- Object
- Mechanize::Form::RadioButton
- Defined in:
- lib/saber/mechanize_ext.rb
Instance Method Summary collapse
-
#check_with_tagen(check = true) ⇒ Object
(also: #check)
check_with_tagen(nil) check_with_tagen(true) check_with_tagen(false).
Instance Method Details
#check_with_tagen(check = true) ⇒ Object Also known as: check
check_with_tagen(nil) check_with_tagen(true) check_with_tagen(false)
123 124 125 126 127 128 129 130 131 |
# File 'lib/saber/mechanize_ext.rb', line 123 def check_with_tagen(check=true) if check.nil? return elsif check check_without_tagen else uncheck end end |