Sha256: 1cdef633f884c7771e692afe908f8f7e70082e013115ed2f028a0ec8a8faf9fc
Contents?: true
Size: 327 Bytes
Versions: 20
Compression:
Stored size: 327 Bytes
Contents
module Paperclip class EmptyStringAdapter < AbstractAdapter def self.register Paperclip.io_adapters.register self do |target| target.is_a?(String) && target.empty? end end def nil? false end def assignment? false end end end Paperclip::EmptyStringAdapter.register
Version data entries
20 entries across 20 versions & 2 rubygems