instance method
<=>
Ruby on Rails 8.1.2
Since v5.2.8.1Signature
<=>(other)
No documentation comment.
Parameters
-
otherreq
Source
# File activestorage/app/models/active_storage/filename.rb, line 73
def <=>(other)
to_s.downcase <=> other.to_s.downcase
end
Defined in activestorage/app/models/active_storage/filename.rb line 73
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveStorage::Filename