Module: ActiveStorageValidations::Matchers::ASVExceptOnable

Extended by:
ActiveSupport::Concern
Included in:
AspectRatioValidatorMatcher, AttachedValidatorMatcher, BaseComparisonValidatorMatcher, ContentTypeValidatorMatcher, DimensionValidatorMatcher, LimitValidatorMatcher, ProcessableFileValidatorMatcher, WithAudioValidatorMatcher
Defined in:
lib/active_storage_validations/matchers/shared/asv_except_onable.rb

Instance Method Summary collapse

Instance Method Details

#except_on(context) ⇒ Object



14
15
16
17
# File 'lib/active_storage_validations/matchers/shared/asv_except_onable.rb', line 14

def except_on(context)
  @except_on = context
  self
end

#initialize_except_onableObject



10
11
12
# File 'lib/active_storage_validations/matchers/shared/asv_except_onable.rb', line 10

def initialize_except_onable
  @except_on = nil
end