Method: Paperclip::Shoulda::Matchers::ValidateAttachmentContentTypeMatcher#initialize
- Defined in:
- lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
#initialize(attachment_name) ⇒ ValidateAttachmentContentTypeMatcher
Returns a new instance of ValidateAttachmentContentTypeMatcher.
18 19 20 |
# File 'lib/paperclip/matchers/validate_attachment_content_type_matcher.rb', line 18 def initialize @attachment_name = end |