activestorage/app/models/active_storage/filename.rb
Active Storage Filename
Encapsulates a string representing a filename to provide convenient access to parts of it and sanitization. A Filename instance is returned by ActiveStorage::Blob#filename
, and is comparable so it can be used for sorting.