This was common when I noticed this little gem:
> nil.select
NoMethodError: private `select 'method for nil: NilClass
Why does nil have a private select method?
I also noticed that Array.methods and Enumerable.methods does not have :select , so when do they come from?
source share