Module: ActiveStorageValidations::Matchers

Defined in:
lib/lupca/carrierwave_image_ratio_validation/matchers/#ratio_validator_matcher.rb

Defined Under Namespace

Classes: RatioValidatorMatcher

Instance Method Summary collapse

Instance Method Details

#validate_size_of(name) ⇒ Object



7
8
9
# File 'lib/lupca/carrierwave_image_ratio_validation/matchers/#ratio_validator_matcher.rb', line 7

def validate_size_of(name)
  RatioValidatorMatcher.new(name)
end