Sha256: f5fd716f5561c0c7b4846c135ec509d6f4656a3efc24e635a03309327d7a9ae6

Contents?: true

Size: 218 Bytes

Versions: 4

Compression:

Stored size: 218 Bytes

Contents

module Paperclip
  class IdentityAdapter
    def new(adapter)
      adapter
    end
  end
end

Paperclip.io_adapters.register Paperclip::IdentityAdapter.new do |target|
  Paperclip.io_adapters.registered?(target)
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
paperclip-3.0.4 lib/paperclip/io_adapters/identity_adapter.rb
paperclip-3.0.3 lib/paperclip/io_adapters/identity_adapter.rb
cloudfuji_paperclip-3.0.3 lib/paperclip/io_adapters/identity_adapter.rb
paperclip-3.0.2 lib/paperclip/io_adapters/identity_adapter.rb