Sha256: 3e6324c29ca282ae7edca48ca53a4ead2d3631f1642c94556bb80a595fe190f1
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
# frozen_string_literal: true 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
formtastic-5.0.0 | lib/formtastic/inputs/base/fileish.rb |