In Ruby, why does end_with?("") always return true for any string?
Channel:
Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=g-WCvlX90Hw
In Ruby, why does end_with?("") always return true for any string?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/664675/rii)rii
(stackoverflow.com/users/2988/j%c3%b6rg-w-mittag)Jörg W Mittag
(stackoverflow.com/users/15261315/chris)Chris
A special thanks goes out to the (https://stackoverflow.com/questions/76714401/in-ruby-why-does-end-with-always-return-true-for-any-string)Stackexchange community
I wish you all a wonderful day! Stay safe :)
ruby
Other Videos By Peter Schneider
Tags:
ruby