Class: Chop::Form::MultipleFile
Instance Attribute Summary
Attributes inherited from Field
#field, #label, #path, #session, #value
Instance Method Summary collapse
Methods inherited from Field
candidates, for, from, #get_value
Instance Method Details
#fill_in! ⇒ Object
191 192 193 |
# File 'lib/chop/form.rb', line 191 def fill_in! field.set file_paths end |
#matches? ⇒ Boolean
187 188 189 |
# File 'lib/chop/form.rb', line 187 def matches? field[:type] == "file" && field[:multiple] end |