Class: Formulaic::Inputs::ArrayInput

Inherits:
Input
  • Object
show all
Defined in:
lib/formulaic/inputs/array_input.rb

Direct Known Subclasses

CheckboxInput, SelectInput

Instance Method Summary collapse

Methods inherited from Input

#initialize

Constructor Details

This class inherits a constructor from Formulaic::Inputs::Input

Instance Method Details

#fillObject


4
5
6
7
8
# File 'lib/formulaic/inputs/array_input.rb', line 4

def fill
  attempt_to_fill_selects ||
    attempt_to_fill_checkboxes ||
    raise_input_error
end