Method: Formtastic::Inputs::SelectInput#initialize
- Defined in:
- lib/formtastic/inputs/select_input.rb
#initialize(*args) ⇒ SelectInput
Returns a new instance of SelectInput.
161 162 163 164 |
# File 'lib/formtastic/inputs/select_input.rb', line 161 def initialize(*args) super raise Formtastic::UnsupportedEnumCollection if collection_from_enum? && multiple? end |