class SimpleForm::FormBuilder
def file_method?(attribute_name) #:nodoc:
def file_method?(attribute_name) #:nodoc: file = @object.send(attribute_name) if @object.respond_to?(attribute_name) file && SimpleForm.file_methods.any? { |m| file.respond_to?(m) } end