Class: Formulaic::Inputs::CheckboxInput

Inherits:
ArrayInput show all
Defined in:
lib/formulaic/inputs/checkbox_input.rb

Instance Method Summary collapse

Methods inherited from ArrayInput

#initialize

Methods inherited from Input

#initialize

Constructor Details

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

Instance Method Details

#fillObject



4
5
6
7
8
9
10
11
# File 'lib/formulaic/inputs/checkbox_input.rb', line 4

def fill
  if has_check_boxes?
    check_boxes
    true
  else
    false
  end
end