Sha256: 793c18cbdbafb60fb4a94ba2962ff6c35894b6592dcf1ced99f17157604cae5b

Contents?: true

Size: 346 Bytes

Versions: 14

Compression:

Stored size: 346 Bytes

Contents

module Paperclip
  class IdentityAdapter < AbstractAdapter
    def self.register
      Paperclip.io_adapters.register Paperclip::IdentityAdapter.new do |target|
        Paperclip.io_adapters.registered?(target)
      end
    end

    def initialize; end

    def new(target, _)
      target
    end
  end
end

Paperclip::IdentityAdapter.register

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
kt-paperclip-7.2.2 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-7.2.1 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-7.2.0 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-6.4.2 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-7.1.1 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-7.1.0 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-7.0.1 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-7.0.0 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-6.4.1 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-6.4.0 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-6.3.0 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-6.2.2 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-6.2.1 lib/paperclip/io_adapters/identity_adapter.rb
kt-paperclip-6.2.0 lib/paperclip/io_adapters/identity_adapter.rb