Module: ActiveStorageValidations::Matchers::ASVAllowBlankable
- Extended by:
- ActiveSupport::Concern
- Included in:
- AspectRatioValidatorMatcher, BaseSizeValidatorMatcher, ContentTypeValidatorMatcher, DimensionValidatorMatcher, LimitValidatorMatcher, ProcessableImageValidatorMatcher
- Defined in:
- lib/active_storage_validations/matchers/shared/asv_allow_blankable.rb
Instance Method Summary collapse
Instance Method Details
#allow_blank ⇒ Object
14 15 16 17 |
# File 'lib/active_storage_validations/matchers/shared/asv_allow_blankable.rb', line 14 def allow_blank @allow_blank = true self end |
#initialize_allow_blankable ⇒ Object
10 11 12 |
# File 'lib/active_storage_validations/matchers/shared/asv_allow_blankable.rb', line 10 def initialize_allow_blankable @allow_blank = nil end |