class
ActiveStorage::Filename
v8.0.0 -
Show latest stable
- Superclass: Object
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.
Included modules
- Comparable
Files
- activestorage/app/models/active_storage/filename.rb