Module: CarrierWave::Uploader::FileSize
- Extended by:
- ActiveSupport::Concern
- Included in:
- Base
- Defined in:
- lib/carrierwave/uploader/file_size.rb
Instance Method Summary collapse
-
#size_range ⇒ Object
Override this method in your uploader to provide a Range of Size which are allowed to be uploaded.
Instance Method Details
#size_range ⇒ Object
Override this method in your uploader to provide a Range of Size which are allowed to be uploaded.
Returns
- NilClass, Range
-
a size range 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 |