It is because it is in Enumerable module that is also included in Array.
In general Enumerable adds a lot of useful helpers to class that implement method `each` - http://apidock.com/ruby/Enumerable