# File lib/paperclip/interpolations.rb, line 82 def class attachment = nil, style_name = nil return super() if attachment.nil? && style_name.nil? attachment.instance.class.to_s.underscore.pluralize end