Class: Formulaic::Inputs::ArrayInput
- Inherits:
-
Input
- Object
- Input
- Formulaic::Inputs::ArrayInput
show all
- Defined in:
- lib/formulaic/inputs/array_input.rb
Instance Method Summary
collapse
Constructor Details
#initialize(label, value) ⇒ ArrayInput
4
5
6
7
|
# File 'lib/formulaic/inputs/array_input.rb', line 4
def initialize(label, value)
@label = label
@value = value
end
|
Instance Method Details
#fill ⇒ Object
9
10
11
12
13
|
# File 'lib/formulaic/inputs/array_input.rb', line 9
def fill
attempt_to_fill_selects ||
attempt_to_fill_checkboxes ||
raise_input_error
end
|