lib/paperclip/attachment_registry.rb in kt-paperclip-5.4.0 vs lib/paperclip/attachment_registry.rb in kt-paperclip-6.2.0

- old
+ new

@@ -1,6 +1,6 @@ -require 'singleton' +require "singleton" module Paperclip class AttachmentRegistry include Singleton @@ -33,10 +33,10 @@ @attachments[klass] ||= {} @attachments[klass][attachment_name] = attachment_options end def clear - @attachments = Hash.new { |h,k| h[k] = {} } + @attachments = Hash.new { |h, k| h[k] = {} } end def names_for(klass) @attachments[klass].keys end