Method: Primer::Forms::Dsl::RadioButtonGroupInput#initialize
- Defined in:
- app/lib/primer/forms/dsl/radio_button_group_input.rb
#initialize(name:, label: nil, **system_arguments) {|_self| ... } ⇒ RadioButtonGroupInput
Returns a new instance of RadioButtonGroupInput.
10 11 12 13 14 15 16 17 18 |
# File 'app/lib/primer/forms/dsl/radio_button_group_input.rb', line 10 def initialize(name:, label: nil, **system_arguments) @name = name @label = label @radio_buttons = [] super(**system_arguments) yield(self) if block_given? end |