Sha256: a2a372329119bc4ba05a41db9271a281c030dd91b0646cfada054a5525346b1d
Contents?: true
Size: 400 Bytes
Versions: 38
Compression:
Stored size: 400 Bytes
Contents
module Formtastic module Inputs module Base module Fileish def file? @file ||= begin # TODO return true if self.is_a?(Formtastic::Inputs::FileInput::Woo) object && object.respond_to?(method) && builder.file_methods.any? { |m| object.send(method).respond_to?(m) } end end end end end end
Version data entries
38 entries across 38 versions & 4 rubygems