instance method
to_s
Ruby on Rails 8.0.4
Since v5.2.8.1Signature
to_s()
Returns the sanitized version of the filename.
Source
# File activestorage/app/models/active_storage/filename.rb, line 64
def to_s
sanitized.to_s
end
Defined in activestorage/app/models/active_storage/filename.rb line 64
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Filename