Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
ah, I got it. Since everything in ruby is an object. So, if I do self ===, it will be equal to self.===, hence it will call the approriate method for the object self which is a string here. On the other hand, if I do /\A\d\z/.===, it will call "another kind" of === method since the object here is an regex.
Thanks very much, and have a nice day.
no 'self ===' it is String method === , '/\A\d\z/ ===' it is Regexp method ===
Hi everybody, I don't why I can't pass the test if I do like this:
self === /\A\d\z/
I think they are the same solution, right?