Module: ActiveStorageValidations::Matchers::ASVMessageable
- Extended by:
- ActiveSupport::Concern
- Included in:
- AspectRatioValidatorMatcher, AttachedValidatorMatcher, BaseSizeValidatorMatcher, ContentTypeValidatorMatcher, DimensionValidatorMatcher, LimitValidatorMatcher, ProcessableImageValidatorMatcher
- Defined in:
- lib/active_storage_validations/matchers/shared/asv_messageable.rb
Instance Method Summary collapse
Instance Method Details
#initialize_messageable ⇒ Object
10 11 12 |
# File 'lib/active_storage_validations/matchers/shared/asv_messageable.rb', line 10 def @custom_message = nil end |
#with_message(custom_message) ⇒ Object
14 15 16 17 |
# File 'lib/active_storage_validations/matchers/shared/asv_messageable.rb', line 14 def () @custom_message = self end |