# File lib/cgikit.rb, line 1457 def run @attr_name = fetch( 'name' ) # String @attr_checked = fetch( 'checked' ) # true or false @attr_value = fetch( 'value' ) # String @attr_selection = fetch( 'selection' ) # String @attr_disabled = fetch( 'disabled' ) # true or false if ( ( @attr_value and @attr_selection ) and \ ( @attr_value == @attr_selection ) ) then @attr_checked = true end if application.attributes_check check_undefined_attributes( 'checked', 'value', \ 'selection', 'disabled', 'name' ) check_required_attributes( ['selection','value'], ['checked'] ) end end