Method: Primer::Forms::Dsl::SelectInput::Option#initialize
- Defined in:
- app/lib/primer/forms/dsl/select_input.rb
permalink #initialize(label:, value:, **system_arguments) ⇒ Option
Returns a new instance of Option.
16 17 18 19 20 |
# File 'app/lib/primer/forms/dsl/select_input.rb', line 16 def initialize(label:, value:, **system_arguments) @label = label @value = value @system_arguments = add_test_selector(system_arguments) end |