Class: REDCap::Form::Checkboxes

Inherits:
RadioButtons show all
Defined in:
lib/red_cap/form/fields.rb

Direct Known Subclasses

CheckboxesWithOther

Constant Summary

Constants inherited from Field

Field::KEYS

Instance Attribute Summary

Attributes inherited from Field

#associated_fields, #attributes, #options

Instance Method Summary collapse

Methods inherited from RadioButtons

#options

Methods inherited from Field

#method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class REDCap::Form::Field

Instance Method Details

#value(responses) ⇒ Object



101
102
103
# File 'lib/red_cap/form/fields.rb', line 101

def value responses
  selected_options(responses).values
end