Class: REDCap::Form::CheckboxesWithRadioButtonsOrOther
- Inherits:
-
CheckboxesWithOther
- Object
- Struct
- Field
- RadioButtons
- Checkboxes
- CheckboxesWithOther
- REDCap::Form::CheckboxesWithRadioButtonsOrOther
- Defined in:
- lib/red_cap/form/fields.rb
Constant Summary
Constants inherited from Field
Instance Attribute Summary
Attributes inherited from Field
#attributes, #form, #responses
Instance Method Summary collapse
Methods inherited from CheckboxesWithOther
Methods inherited from RadioButtons
Methods inherited from Field
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class REDCap::Form::Field
Instance Method Details
#value ⇒ Object
125 126 127 128 129 130 131 |
# File 'lib/red_cap/form/fields.rb', line 125 def value radio_values = .keys.map do |key| radio_field_for(key).value end Hash[super.zip(radio_values)] end |