Sha256: bd26d5677728d419af00a1d498d95f1927dc111c26715c58f0fc90b0bfe160a9
Contents?: true
Size: 300 Bytes
Versions: 34
Compression:
Stored size: 300 Bytes
Contents
module Paperclip class EmptyStringAdapter < AbstractAdapter def initialize(target) end def nil? false end def assignment? false end end end Paperclip.io_adapters.register Paperclip::EmptyStringAdapter do |target| target.is_a?(String) && target.empty? end
Version data entries
34 entries across 32 versions & 6 rubygems