Class: Primer::Forms::Multi

Inherits:
BaseComponent show all
Defined in:
app/lib/primer/forms/multi.rb

Overview

:nodoc:

Instance Method Summary collapse

Methods inherited from BaseComponent

compile!, #content, #input?, #perform_render, #render?, #to_component, #type

Methods included from ActsAsComponent

#compile!, extended, #renders_templates

Methods included from ClassNameHelper

#class_names

Constructor Details

#initialize(input:) ⇒ Multi

Returns a new instance of Multi.



9
10
11
12
13
# File 'app/lib/primer/forms/multi.rb', line 9

def initialize(input:)
  @input = input

  Primer::Forms::Utils.classify(@input.input_arguments)
end