Module: CarrierWave::Uploader::FileSize

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/carrierwave/uploader/file_size.rb

Instance Method Summary collapse

Instance Method Details

#size_rangeObject

Override this method in your uploader to provide a Range of Size which are allowed to be uploaded.

Returns

NilClass, Range

a size range (in bytes) which are permitted to be uploaded

Examples

def size_range
  3256...5748
end


25
# File 'lib/carrierwave/uploader/file_size.rb', line 25

def size_range; end